Unit Testing is a controversial topic. Everybody agrees it is a good thing and everybody should do it, but most projects I’ve seen do not, or not anymore. Which is a pity, since it can be – from a development standpoint – quite fun to write. I recently ran into the Spock framework, which lets you write unit tests using Groovy, and had to give it a try. Here’s a brief introduction.