huxi / spock

The Enterprise-ready testing and specification framework.

Home Page:http://spockframework.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Maven Central Linux Build Status Windows Build Status 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-rc-4 (1.1-groovy-2.0-rc-4, 1.1-groovy-2.3-rc-4, 1.1-groovy-2.4-rc-4), released on 2016-10-17. 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.

Modules

Building

Supported versions

Spock is supported for Java version 6, 7, and 8. Spock is supported for Groovy version 2.0 (Not supported for Java 8+), 2.3, 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).

If you are using JDK 6 or 7 you can specify groovy version 2.0 with using -Dvariant=2.0 and it should pass as well:

./gradlew clean build -Dvariant=2.0

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.

http://spockframework.org

License:Apache License 2.0


Languages

Language:Java 56.5%Language:Groovy 32.1%Language:JavaScript 7.5%Language:XSLT 2.5%Language:HTML 1.1%Language:CSS 0.3%