If you always thought that JUnit (and/or TestNG) was the only solution for Java unit tests, guess again! Spock is an emerging test framework written in Groovy that can test both Java and Groovy code. It even includes its own Mocking mechanism. In this article adapted from Java Testing with Spock, I will give you a high level overview of Spock and its capabilities.

Spock: the groovier testing framework (PDF)