Testing Grails Applications
IntelliJ IDEA enables creating and running unit and integration Grails tests, and provides run configurations for each test type.
To create Grails test, do one of the following:
To create a Grails test run/debug configuration
- In the Grails view, right-click one of the test directories, point to on the context menu, and then choose one of the suggested options:
- In the Run/Debug Configuration dialog that opens, specify the run/debug configuration settings:test type, Grails scripts etc.
To run a Grails test
- In the Grails view, select the desired test class.
- In the menu that opens, select Run and the desired configuration type:
The selected run/debug configuration is executed in the Run tool window.
Last modified: 2 August 2018