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.
By Benjamin J. Evans and Martijn Verburg
As a language, Clojure is arguably the most different from Java. In this article, based on The Well-Grounded Java Developer, the authors show you Clojure’s most important conceptual variations from Java—the treatment of state and variables.