Simple project to show how to use Spock to test Java code.
This code was the basis for the JetBrains IntelliJ IDEA Spock tutorial video. The code may not be exactly the same as in the video, but the examples are aligned.
Download this code and play with it to see what Spock might offer you.
- Official Spock example project
- Getting Started With Spock
- Spock Reference documentation
- Spock Core dependency
This tutorial (the code and the video) were inspired by the work I did some time back using Spock, which I wrote a couple of blog posts on: