Creating Run/Debug Configuration for Tests
You can run your tests (test cases, test suites, and so on) using run/debug configurations, in the way similar to running ordinary applications.
To create a test configuration
Open the Run/Debug Configuration dialog by doing one of the following:
On the main menu, choose.
Press ⌃⌥R and select Edit Configuration from the context menu.
Click on the toolbar and select one of the available testing frameworks.
Specify name,target and other parameters for the created configuration and click OK.