Spock Functional Plugin - spockframework.org

  • Tags : /
  • Latest : 0.6
  • Last Updated: 17 May 2012
  • Grails version : 1.3.0 > *
  • Authors : null
0 vote
Dependency :
compile ":functional-spock:0.6"
Custom repositories :
mavenRepo "http://grails.org/plugins"

Documentation

Summary

Write Grails functional tests with Spock

Installation

For grails-2 add the following line to the plugins section of your BuildConfig.groovy

compile ':functional-spock:0.6'

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

Description

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.

Sources can be found on github