PyCharm enables usage of the following testing frameworks:

Before you start working with the testing framework of your choice, make sure that:

  • The desired framework is installed on your machine. Refer to the framework documentation for the installation details.
  • The default test runner is selected (Settings | Python Integrated Tools - Default test runner)

    py_test_runner

    With the test runner selected, PyCharm suggests the appropriate default run/debug configuration:

    py_test_runconfig

For each of the supported testing frameworks, PyCharm provides:

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

See Also

Concepts:

Procedures:

Reference:

Web Resources: