By Konstantinos Kapelonis, author of Java Testing with Spock
You know the theory behind a solid testing process and how Spock can test classes written in Java. Now it’s time to delve into code! In this article, I’ll show you what spock looks like in a minimal, but fully functioning, example.

A first look at Spock in action (PDF)