Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (46 sloc) 2.29 KB
Spock Framework README
Spock is a developer testing and specification framework for Java and Groovy applications. To learn more about Spock,
visit To run your first spec right away, visit
Current release versions: 0.5-groovy-1.6, 0.5-groovy-1.7, 0.5-groovy-1.8 (released 2010-12-10)
Current development versions: 0.6-groovy-1.7-SNAPSHOT, 0.6-groovy-1.8-SNAPSHOT
spock-core: Core framework.
spock-specs: Specifications for spock-core, written with Spock. Not required for using the framework.
spock-maven: Extended Maven support (optional).
spock-example: Self-contained example project with Ant, Gradle, and Maven build. See spock-example/README for more information.
spock-spring: Integration with the Spring TestContext Framework.
spock-tapestry: Integration with the Tapestry 5 IoC container.
spock-guice: Integration with Guice 2.
spock-unitils: Integration with Unitils (
Gradle Build
Prerequisites: JDK 5 or higher
Type: ./gradlew clean build
If not already present, build dependencies (including Gradle itself) will be downloaded automatically.
Maven Build
Prerequisites: JDK5 or higher, Maven 2.x
Type: mvn clean install
If not already present, build dependencies will be downloaded automatically.
Further Resources
Spock homepage
Spock web console
Main documentation
User discussion group
Dev discussion group
Issue tracker
Build server
Maven repository (releases are also available from Maven Central)
Spock blog
Spock on Twitter
Ant homepage
Gradle homepage
Groovy homepage
Maven homepage
If you have any comments or questions, please direct them to the Spock discussion group. All feedback is appreciated!
Happy spec'ing!
Peter Niederwieser
Creator, Spock Framework
Jump to Line
Something went wrong with that request. Please try again.