Spock

the enterprise ready specification framework

DocumentationSourceIssuesChat

What is it?

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 from JUnit, RSpec, jMock, Mockito, Groovy, Scala, Vulcans, and other fascinating life forms.

How Do I Get Started?

Read ten reasons why Spock is for you, run your first spec in Spock Web Console, fork the spock-example project, learn how to write a specification, or dive into the reference documentation.

Install

with Gradle

testCompile "org.spockframework:spock-core:1.3-groovy-2.5"

with Maven:

<dependency>
  <groupId>org.spockframework</groupId>
  <artifactId>spock-core</artifactId>
  <version>1.3-groovy-2.5</version>
  <scope>test</scope>
</dependency>

Where Are The Docs?

How Can I Get Involved?

Built with Compositor.io