IntelliJ IDEA enables usage of the following testing frameworks:

The following is available only in the Ultimate edition of IntelliJ IDEA

For each of the supported testing frameworks, IntelliJ IDEA provides:

  • Code completion, aware of the specific testing framework.
  • Run/debug configurations.
  • Possibility to create tests.
  • Possibility to navigate between tests and test subjects.
  • Possibility to run tests from within the IDE, and view test results in the test runner UI. The test results are shown on the Test Runner tab of the Run tool window.
  • Possibility to run all tests in a directory, specific test classes, test cases, or individual test methods.
  • Code inspections.
  • Context-sensitive generators for the various types of tests.
  • Dedicated directories structure.
  • Possibility to run all tests or features in a directory, specific test classes, test cases or features, individual test methods or examples.
  • Possibility to run tests from within the IDE, and view test results in the console, or in the test runner UI.
  • In doctests:
    • IntelliJ IDEA recognizes Python code, provides syntax highlighting, code completion and resolve, and Python inspections.
    • Possibility to recognize Python code can be turned on or off.
    • If doctests are presented as separate files, IntelliJ IDEA allows opening such files as reStructuredText files with *.rst extension. Such files are marked with fileTypesRST icon, and feature syntax highlighting.

Refer to the section Testing for the detailed description of the common testing procedures.

For framework-specific usage guidelines, refer to:

See Also

Concepts:

Procedures:

Reference:

Web Resources: