IntelliJ IDEA 2017.1 Help

Creating Groovy Tests and Navigating to Tests

To create a test for a Groovy class

  1. Do one of the following:
  2. In the Create Test dialog box, specify the required information, as described in the section Creating Tests.
    /help/img/idea/2017.1/create_test_groovy.png
  3. In the editor of the created test file, in the left gutter, click on the /help/img/idea/2017.1/run_grails_from_left_gutter_icon.png icon to execute run/debug configuration.
    /help/img/idea/2017.1/run_groovy_tests.png
    You can also use a context menu to run or debug your test.

See Also

Last modified: 18 July 2017