Creating Groovy Tests and Navigating to Tests
To create a test for a Groovy class
- Do one of the following:
Use intention action Create test.
Press Ctrl+Shift+T, and choose.
In the Create Test dialog box, specify the required information, as described in the section Creating Tests.
In the editor of the created test file, in the left gutter, click on the icon to execute run/debug configuration. You can also use a context menu to run or debug your test.