O'Reilly logo

Java Testing with Spock by Konstantinos Kapelonis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Installing Spock

This appendix explains how to install and begin using Spock in your Java project (even when you already have existing JUnit tests). It also covers installation of Groovy support in popular development environments and how to best use the source code for the book.

I assume you already have a Java project (that you want to write Spock tests for) and so have the following available:

A.1. Optional Groovy installation

First, let’s get a big misunderstanding out of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required