Grails 2.0: _Events.groovy fails to resolve grails.plugin.spock.test.GrailsSpecTestType (works fine in 1.3.7)

49 views
Skip to first unread message

Roshan Dawrani

unread,
Dec 19, 2011, 5:13:27 AM12/19/11
to Grails Users, us...@geb.codehaus.org, spockfr...@googlegroups.com
Hi,

I use the technique described here to define a custom functional testing phase, which makes use of the class grails.plugin.spock.test.GrailsSpecTestType.

With Grails 2.0, the compilation of _Events.groovy gives the error: unable to resolve class grails.plugin.spock.test.GrailsSpecTestType. Grails 1.3.7 worked fine.

This class is present in spock-grails-support-0.6-groovy-1.8-SNAPSHOT.jar, which is pulled-in by plugin 'org.spockframework:spock:0.6-groovy-1.8-SNAPSHOT'.

Why am I getting this error? What is the work around?

Reply all
Reply to author
Forward
0 new messages