Grails Fixtures Plugin

  • Tags : testing, domain
  • Latest : 1.2
  • Last Updated: 31 October 2012
  • Grails version : 1.2 > *
12 votes

3% of Grails users

Dependency :
compile ":fixtures:1.2"
Custom repositories :
mavenRepo "http://download.java.net/maven/2/"

Documentation Source Issues

Summary

Load complex domain data via a simple DSL

Installation

From the command line:

grails install-plugin fixtures

In BuildConfig.groovy:

// adjust versions as necessary
plugins {
    test ':fixtures:1.0.7'
}

You also need to install the build-test-data plug-in if you want to use the built-test-data integration features

From the command line:

grails install-plugin build-test-data

In BuildConfig.groovy:

// adjust versions as necessary
plugins {
    test ':build-test-data:1.1.1'
    test ':fixtures:1.0.7'
}

Description

The fixtures plugin allows you to load test data via a convenient DSL.

Please see the documentation at: http://gpc.github.com/grails-fixtures/docs/index.html