create-integration-test
Purpose
The create-integration-test
command will create an integration test for the given base name.Examples
griffon create-integration-test book
Description
Creates an integration test for the given base name. For example for a base name "book" an integration test called BookTests
will be created in the test/integration
directory.An integration test differs from a unit test in that the Griffon environment is loaded for each test execution. Refer to the section on Unit Testing of the user guide for information on unit vs. integration testing.Note that this command is merely for convenience and you can also create integration tests in your favourite text editor or IDE if you choose.Usage:
griffon create-integration-test [name]
Arguments:
name
- The name of the test to create.
Options:
integrationTests
- The name of the integration test template, defaults to 'IntegrationTests'
file-type
- The file type of the artifact, i.e, groovy|java|etc