Skip to content

The Enterprise-ready testing and specification framework.

License

Notifications You must be signed in to change notification settings

Karfroth/spock

 
 

Repository files navigation

License Maven Central Linux Build Status Windows Build Status Codecov Gitter

Spock Framework

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.

Latest Versions

The latest release version is 1.1 (1.1-groovy-2.0, 1.1-groovy-2.3, 1.1-groovy-2.4), released on 2017-05-05. The current development version is 1.2-SNAPSHOT (1.2-groovy-2.4-SNAPSHOT).

NOTE: Spock 1.2 drops support for Java 6, Groovy 2.0 and Groovy 2.3.

Releases are available from Maven Central. Development snapshots are available from Sonatype OSS.

Modules

  • 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.
  • 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.

Building

Supported versions

Spock is supported for Java version 7, and 8.

Spock is supported for Groovy version 2.4+

The tests are testing spock with a specific versions (variants) of groovy. Default is groovy version 2.4

The groovy 2.4 variant should pass on all supported JDK versions:

./gradlew clean build

(Windows: gradlew clean build). All build dependencies, including the build tool itself, will be downloaded automatically (unless already present).

Contributing

Contributions are welcome! Please see the contributing page for detailed instructions.

Support

If you have any comments or questions, please direct them to the user forum. All feedback is appreciated!

Links

Live Long And Prosper!

The Spock Framework Team

About

The Enterprise-ready testing and specification framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 52.9%
  • Groovy 31.6%
  • JavaScript 12.0%
  • XSLT 2.3%
  • Other 1.2%