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)
Manning's focus is on computing titles at professional levels. We care about the quality of our books. We work with our authors to coax out of them the best writing they can produce. We consult with technical experts on book proposals and manuscripts, and we may use as many as two dozen reviewers in various stages of preparing a manuscript. The abilities of each author are nurtured to encourage him or her to write a first-rate book.