IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Choose your testing framework

Last modified: 11 February 2024

By default, the suggested default test runner is unittest. However, you can redefine the default framework and change it to nosetest, pytest or TwistedTrial.

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

Suggested run/debug configuration for a test framework

If a user already has the testing run/debug configuration for a specific file and for a specific testing framework, then IntelliJ IDEA will launch this run/debug configuration, regardless of your chosen default test runner.

If a user opens any non-IntelliJ IDEA project that involves testing frameworks, IntelliJ IDEA will autodetect the required test runner and set it for the project.