Unit tests with Spock
This article has first appeared in Today Software Magazine. Why Spock? When we first started working on our project at work, we searched for an easy-to-use tool that would help us write readable and concise tests. We chose Spock, because in combination with Groovy it provided exactly what we needed: readable BDD-style tests that we …