2.7 Testing an Application

The `create-*` commands in Griffon 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:

    griffon test-app

Griffon also automatically generates an Ant `build.xml` which can also run the tests by delegating to Griffon' test-app command:

    ant test

This is useful when you need to build Griffon applications as part of a continuous integration platform such as CruiseControl.