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+F10Shift+F10Shift+F10Shift+F10F9Ctrl+F5F6Alt+Shift+X or Shift+F10Shift F10Shift F10Meta Shift F11)
or Run | Debug (Shift+F9Shift+F9Shift+F9Shift+F9Shift+F9Shift+F9Alt+F5Ctrl+F5Alt+Shift+D or Shift+F9Shift F9Shift F9Meta F11) 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+F10Alt+Shift+F10Alt+Shift+F10Alt+Shift+F10Alt+Shift+F10Alt+Shift+F10Alt+Shift+F10Alt+Shift+F10Alt Shift F10Alt Shift F10Control Alt R for the run configurations, or Alt+Shift+F9Alt+Shift+F9Alt+Shift+F9Alt+Shift+F9Alt+Shift+F9Alt+Shift+F9Alt+Shift+F9Alt+Shift+F9Alt+Shift+F9Alt Shift F9Alt Shift F9Control Alt D 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 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> 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>.

