PyCharm
 
Get PyCharm

Create run/debug configurations for tests

Last modified: 08 October 2024

You can run your tests (test cases, test suites, and so on) using run/debug configurations, in the way similar to running ordinary applications. PyCharm provides a framework for creating special run/debug configurations for testing purposes, where a test can be specified as a target.

In addition to the regular procedure of creating a regular run configuration, PyCharm provides a shortcut that allows you to create run/debug configurations for all tests in a container, for a single test case, or even for a test method.