http://stateyourbizness.blogspot.com/2011/02/remote-controlled-gebspock-functional.html
> --
> You received this message because you are subscribed to the Google Groups
> "Spock Framework - User" group.
> To post to this group, send email to spockfr...@googlegroups.com.
> To unsubscribe from this group, send email to
> spockframewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/spockframework?hl=en.
>
> Can a single test be run using the Geb/Spock Framework in Groovy?
From the Grails command-line, you can run a single test class as explained in the Grails documentation, e.g.:
grails test-app functional: FooSpec // note the space between 'functional:' and 'FooSpec'
Not sure if you can run a single test method from the Grails command-line. What works in every environment is to temporarily annotate the method to be run with @spock.lang.IgnoreRest.
Cheers,
Peter
The spock-grails plugin doesn't currently support running a single test method like the JUnit support in Grails does.
If you'd like to see this supported, please raise an enhancement request @ http://issues.spockframework.org