All the source code is located at https://github.com/kkapelon/java-testing-with-spock. Each chapter is an independent Maven project. You can check out any chapter by itself and run the command mvn test (or mvn verify) to run all Spock/JUnit tests. You need an active internet connection so that all dependencies are downloaded. You can obtain the code in multiple ways:
Feel free to import any chapter into your favorite IDE (as a Maven project) to examine the code more thoroughly. All code listings of the book are shown in the GitHub repository; figure A.7 shows an example. You can click any of them, and you’ll be transferred directly to the respective source file.
I’ve set up continuous integration on the GitHub page. Seeing the current status of the code at the front page is easy.
3.145.179.225