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.
Depending on a particular supported testing framework, PyCharm provides:
Code completion, aware of the specific testing framework.
Ability to create tests .
Ability to navigate between tests and test subjects.
Ability to run all tests or features in a directory, specific test classes, test cases or features, individual test methods or examples.
PyCharm recognizes Python code, provides syntax highlighting, code completion and resolve, and Python inspections.
Ability to recognize Python code can be turned on or off.
doctestsare presented as separate files, PyCharm allows opening such files as reStructuredText files with .rst extension. Such files are marked with icon, and feature syntax highlighting.
Refer to the section Performing Tests for the detailed description of the common testing procedures.