The
create-*
commands in Grails automatically create integration tests for you within the
test/integration
directory. It is of course up to you to populate these tests with valid test logic, information on which can be found in the section on
Testing. However, if you wish to execute tests you can run the
test-app command as follows:
Grails also automatically generates an Ant
build.xml
which can also run the tests by delegating to Grails'
test-app command:
This is useful when you need to build Grails applications as part of a continuous integration platform such as CruiseControl.