Spock is a really interesting framework for writing automated tests on the JVM. Spock tests are written in Groovy, but they can be used to test Java classes as well. Check out our 30 minute video tutorial on how to write tests using Spock, or follow along with this series of blog posts, which contains code samples and links to further information. Or do both!
In this post, Part 1 in the series, we're going to cover just enough to get you started with a brand new project for writing Spock tests.
Tutorial: Spock
Part 1 - Getting Started
Part 2 - Writing Tests
Part 3 - Data Driven Test