Hi,
I just tried to use Spock in a Maven based project together with
Groovy-Eclipse instead of the gmaven plugin. See
http://contraptionsforprogramming.blogspot.com/2010/09/where-are-all-my-stubs.html
and
http://contraptionsforprogramming.blogspot.com/2010/10/more-on-groovy-eclipse-and-maven.html
for more info about Groovy-Eclipse.
Unfortunately, this combination does not work yet. The attempt to
build a project containing a spock spec result in:
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.108
sec <<< FAILURE!
initializationError(kata.movietickets.HelloSpockSpecs) Time elapsed:
0.007 sec <<< ERROR!
org.spockframework.runtime.InvalidSpecException: Specification
'kata.movietickets.HelloSpockSpecs' was not compiled properly (Spock
AST transform was not run); try to do a clean build
Building the project with gmaven works.
I'll try to get in touch with the Groovy-Eclipse developer and will
ask for help.
Stefan