sgo / grails-functional-spock

Write Grails functional tests with Spock
2 stars 2 forks source link

Grails 2.0 compatibility #1

Open ibriscoe opened 12 years ago

ibriscoe commented 12 years ago

You need to use spock-0.6-SNAPSHOT with Grails 2.0.0, which is I believe due to Groovy 1.8 dependencies.

The plugin looks like it's only going to work on pre-2.0 versions of Grails, because when I installed it, the old Spock plugin started to download - I aborted that and uninstalled the plugin.

This would be a very useful plugin for the project I'm working on, as it would allow me to have my functional tests for the RESTful API we're developing in the same project, with custom environments targeting staging and uat deployments of the Grails app - at the moment, non-Grails 2.0 compatibility means creating a separate project to enable me to run RESTful API functional tests independently of unit tests.

ibriscoe commented 12 years ago

Looks like Spock 0.6 is nearing release - the latest plugin version is 0.6-rc-1.

sgo commented 12 years ago

The official spock 0.6 plugin has been released so I'll make an update soon.