To start running or debugging a test, you can use the main toolbar, or a context menu in the Project tool window or in the editor:
-
Using the main toolbar:
-
Select the necessary run/debug configuration from the list on the main toolbar.

-
Click
Run or
Debug to the right of the list.
(Alternatively, choose Run | Run (Shift+F10Shift+F10)
or Run | Debug (Shift+F9Shift+F9) from the main menu.)
Tip
To see the list of available run or debug configurations and to quickly select the one you want, you can use the following keyboard shortcuts: Alt+Shift+F10Alt+Shift+F10 for the run configurations, or Alt+Shift+F9Alt+Shift+F9 for the debug configurations.
-
Select the necessary run/debug configuration from the list on the main toolbar.
-
Using a context menu:
Right-click a test file or test class in the Project tool window, or open it in the editor, and right-click the background. On the context menu, choose Run < class name>/Run < file name>/ or Debug.
Tip
For a test method, open the class in the editor and right click anywhere in the method. The context menu suggests the command Run / Debug <method name>.

