PyCharm 2020.3 Help

Testing frameworks

PyCharm enables usage of the following testing frameworks:

FrameworkCode completionRun/debug configurationAbility to create a testNavigation between tests and tests subjectsAbility to run testsCode inspections
Python unittestsYesYesYesYesYesPartially
Python nosetestsPartiallyYesYesYesYesPartially
Python doctestsN/AYesNoN/AYesYes

Available only in PyCharm Professional

BDD Testing FrameworkYesYesYes (for step definitions)Yes (between steps and features)YesPartially

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.

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

Last modified: 08 March 2021