Grails, Spock & IntelliJ Idea First Steps

I’ve been meaning to spend some time setting up a Test Driven Development approach to my Grails development and after looking at the options, Spock seems to be a popular and capable testing and specification framework for Grails and Java development.

I’m using Grails 2.0.1, the Grails Spock plugin and IntelliJ IDEA 10.5. I’m going to pick an existing Grails project add Spock and write a simple unit test for one of my domain classes. This grails-spock-example project was one of the most helpful posts I ran across.
Continue reading