days
-4
-5
hours
0
-5
minutes
0
-7
seconds
-3
-2
search
Live long and prosper

Groovy framework Spock gets big release with 0.6

Chris Mayer

Spock 0.6 signals a fundamental change in documentation plus ushers in updated support for Groovy stable mates.

It’s been a trek getting to this point (don’t worry no more Star Trek wordplay), but the team behind the Spock framework have announced the latest release, Spock 0.6.

The first major version for over a year, Spock 0.6 adds in lots of improvements and fixes. Most notably, Spock 0.6 adds support for the newest Groovy projects. This means support for all variants of the language, so Groovy 1.8, the impending Groovy 2.0, and Grails 2.0, hence the long period of work behind the scenes.

Spock is a testing and specification framework for Java and Groovy applications. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers.

Spock is now exclusively built with Gradle. Groovy 1.7 is still supported but won’t be next time round and the Spock plugin for Grails 2.0 is now in a separate project on GitHub.

Creator, Peter Niederweiser, who made the announcement, also detailed some of the new changes to the enterprise framework. These include the mocking framework providing better diagnostic messages and a capability to chain multiple result declarations.

Also new to Spock 0.6 are:

  • Extended JUnit rules support and improved compatibility
  • Condition rendering improvements
  • JUnit fixture Annotations
  • Tapestry 5.3 support. Older support is still there.
  • Spock now runs on IBM JDKs
  • Improved @Unroll and @Timeout,
  • Improved data table syntax
  • IntelliJ IDEA integration (new features around data tables)

Importantly though, all source code has moved to GitHub, which is where you will find all the important parts. To the Spock framework team, we salute your efforts.

Author

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of