This project contains a number of Spock specifications. "Spock is a testing and specification framework for Java and Groovy applications" http://code.google.com/p/spock/
A great place to start is http://code.google.com/p/spock/wiki/SpockBasics.
Install one or both of:
Gradle - http://www.gradle.org IntelliJ - http://www.jetbrains.com
You'll probably want to review these tests in the following order as they get more complex as we go:
- Simple
- WhereBlockExample
- SimpleDomainExample
- DomainExampleWithSetupSpec