Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 66 lines (46 sloc) 2.341 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
Spock Framework README
======================

Spock is a developer testing and specification framework for Java and Groovy applications. To learn more about Spock,
visit http://spockframework.org. To run your first spec right away, visit http://meet.spockframework.org.

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

Modules
-------
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 (http://www.unitils.org/).

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 http://spockframework.org
Spock web console http://meet.spockframework.org
Main documentation http://wiki.spockframework.org/SpockBasics
User discussion group http://forum.spockframework.org
Dev discussion group http://dev.forum.spockframework.org
Issue tracker http://issues.spockframework.org
Build server http://builds.spockframework.org
Maven repository http://m2repo.spockframework.org (releases are also available from Maven Central)
Spock blog http://blog.spockframework.org
Spock on Twitter http://twitter.com/pniederw

Ant homepage http://ant.apache.org
Gradle homepage http://www.gradle.org
Groovy homepage http://groovy.codehaus.org
Maven homepage http://maven.apache.org

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
Something went wrong with that request. Please try again.