Spock Plugin

The Spock plugin allows you to execute Spock specifications.
LATEST VERSION: 1.0.0
Loading the Plugin
Here is how you load this plugin:
spock = loadPlugin(id: "org.savantbuild.plugin:spock:0.1.2")
Executing Tests
This plugin provides a single method to run the tests. Here is an example of calling this method:
spock.test()
Finally, you can run a single test(s) using the command-line test switch like this:
$ sb test --test=FooBarTest
$ sb test --test=FooBarTest --test=YetAnotherFooBarTest