Chapter Contents


4 DSL for setting up datastore state

The library provides a very simple DSL for setting up data in a datastore if your tests execution needs the datastore to be in a certain state. The DSL is supposed to be a simplified version of inline fixtures feature of Grails Fixtures plugin.

4.1 Examples

To use the DSL you have to annotate your specification with @Use(DataSetupCategory) which provides the setupData method. Please refer to DataSetupCategorySpec for examples.


Gaelyk Functional Test Tools Documentation - 0.2 - December, 2012
Licensed under the Apache License, Version 2.0