Skip to content

sgo/grails-functional-spock

Repository files navigation

Grails functional-spock plugin

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.

Installation

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'
}

Running Tests

grails test-app functional:spock

About

Write Grails functional tests with Spock

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages