PyCharm 2017.2 Help

Choosing Your Testing Framework

To choose a testing framework, follow these steps:

  1. Open the Settings/Preferences dialog, and under the node Tools, click the page Python Integrated Tools.
  2. On this page, click the Default Test Runner field.
  3. Choose the desired test runner:
    /help/img/idea/2017.2/py_choosing_test_runner.png

Mind the following:

  • If a user already has the testing run/debug configuration for a specific file and for a specific testing framework, then PyCharm will launch this run/debug configuration, regardless of your chosen default test runner.
  • By default, the suggested default test runner is unittest. However, it's possible to change your choice to nosetestt or py.test.

See Also

External Links:

Last modified: 9 August 2017