- Right-click the desired target, for example a directory or an individual test in the Project tool window. In case of an individual test, you can open it in the editor, and right-click the background.
On the context menu of the selection, choosefor an individual test . For your convenience, the corresponding context menu commands are marked with icons:
- for Python unittest
- for Python doctests
- for Python nosetest
- for Django unit tests
- for py.test framework
For a test method, open the class in the editor and right click anywhere in the method. The context menu suggests the command Create < method name>.
- In the dialog box that opens, specify the run/debug configuration parameters, apply changes and close the dialog.