Allows you to write and run Spock specs under the functional test scope. For details on how to write Spock specs see the documentation for the spock plugin.
For grails-2 add the following line to the plugins section of your BuildConfig.groovy
compile ":functional-spock:0.7"
For grails-1.3 add the following line to the plugins section of your BuildConfig.groovy
compile ":functional-spock:0.6", {
excludes "spock-grails-support"
}
And to your dependencies section:
provided 'org.spockframework:spock-grails-support:0.5-groovy-1.7', {
exclude 'groovy-all'
}
grails test-app functional:spock