The Spock framework is a testing and specification framework for JVM languages, like Java and Groovy. When I started to learn about Spock I wrote done little code snippets with features of Spock I found interesting. To access my notes from different locations I wrote the snippets with a short explanation in a blog: Messages from mrhaki. I labeled the post as Spocklight, because I thought this is good stuff that needs to be in the spotlight.
The Spocklight notebook contains the blog posts bundled into one book. The book is intended to browse through the subjects. You should be able to just open the book at a random page and learn more about Spock. Maybe pick it up once in a while and learn a bit more about known and lesser known features of Spock.
I hope you will enjoy reading the book and it will help you with learning about the Spock framework, so you can apply all the goodness in your projects.
The latest update of the book is on April 12, 2023 with the following posts:
- Assert Elements In Collections In Any Order
- Testing Asynchronous Code With DataVariable(s)
- Testing Asynchronous Code With PollingConditions
- Creating Temporary Files And Directories With FileSystemFixture
- Adjusting Time With MutableClock