Introduction
Peter Niederwieser, The Spock Framework TeamVersion 1.1
Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock is inspired fromJUnit,jMock,RSpec,Groovy,Scala,Vulcans, and other fascinating life forms.
Getting Started
Peter Niederwieser, The Spock Framework TeamVersion 1.1
It’s really easy to get started with Spock. This section shows you how.
Spock Web Console
Spock Web Consoleis a website that allows you to instantly view, edit, run, and even publish Spock specifications. It is the perfect place to toy around with Spock without making any commitments. So why not runHello, Spock!right away?
Spock Example Project
To try Spock in your local environment, clone or download/unzip theSpock Example Project. It comes with fully working Ant, Gradle, and Maven builds that require no further setup. The Gradle build even bootstraps Gradle itself and gets you up and running in Eclipse or IDEA with a single command. See the README for detailed instructions.