Spock Example
Spock example specifications along with ready-to-go Gradle builds
The Spock Example project is a reference repository demonstrating how to set up and use the Spock testing framework with Gradle or Maven. It includes sample Specification classes that illustrate key Spock features—given/when/then style, data-driven testing, mocking/stubbing, and interaction verification. The examples show how to integrate Spock into typical Java/Groovy projects, how to run tests inside IDEs like Eclipse or IntelliJ, and how to align build scripts with Spock’s dependencies....