![Maven Central](https://img.shields.io/maven-central/v/org.spockframework/spock-core.svg?label=Maven Central)
![Linux Build Status](https://img.shields.io/travis/spockframework/spock/master.svg?label=Linux Build)
![Windows Build Status](https://img.shields.io/appveyor/ci/spockframework/spock/master.svg?label=Windows Build)
Spock is a developer testing and specification framework for Java and Groovy applications. To learn more about Spock, visit http://spockframework.org. To run a sample spec in your browser, go to http://webconsole.spockframework.org.
The latest release version is 1.0 (1.0-groovy-2.0, 1.0-groovy-2.3, 1.0-groovy-2.4), released on 2015-03-02. The current development version is 1.1-SNAPSHOT (1.1-groovy-2.0-SNAPSHOT, 1.1-groovy-2.3-SNAPSHOT, 1.1-groovy-2.4-SNAPSHOT).
Releases are available from Maven Central. Development snapshots are available from Sonatype OSS.
- spock-core -- Core framework. This is the only mandatory module.
- spock-specs -- Specifications for spock-core, implemented using Spock. Not required for using Spock.
- spock-spring -- Integration with the [Spring TestContext Framework] (http://docs.spring.io/spring/docs/4.1.5.RELEASE/spring-framework-reference/html/testing.html#testcontext-framework).
- spock-tapestry -- Integration with the Tapestry 5 IoC container.
- spock-guice -- Integration with Guice 2/3.
- spock-unitils -- Integration with Unitils.
- spock-report -- Interactive, business-friendly HTML reports.
The only prerequisite is JDK 6 or higher.
After cloning the project, type ./gradlew clean build
(Windows: gradlew clean build
). All build dependencies,
including the build tool itself, will be downloaded automatically (unless already present).
Contributions are welcome! Please see the contributing page for detailed instructions.
If you have any comments or questions, please direct them to the user forum. All feedback is appreciated!
- Spock Homepage -- http://spockframework.org
- Spock Web Console -- http://webconsole.spockframework.org
- GitHub Organization -- http://github.spockframework.org
- Reference Documentation -- http://docs.spockframework.org
- Old Wiki -- http://wiki.spockframework.org
- Javadoc -- http://javadoc.spockframework.org
- User Forum -- http://forum.spockframework.org
- Developer Forum -- http://dev-forum.spockframework.org
- Issue Tracker -- http://issues.spockframework.org
- Build Server -- http://builds.spockframework.org
- Spock Example Project -- http://github.spockframework.org/spock-example
- Twitter -- http://twitter.spockframework.org
Live Long And Prosper!
The Spock Framework Team