Grails WebTest Plugin Version 2.0 Released

Lee Butts's picture

The latest version of the WebTest plugin for Grails is now available in the central repository.

This is a release to update the plugin to work correctly with 1.2-RC2 and to removed the old run-webtest script in favour of the new test-app -functional integration. If your build server is using run-webtest you will need to change it to test-app -functional

The only known loss of functionality between run-webtest and test-app is the custom test suite behaviour. If you need this functionality do not upgrade (you should also add a Jira to Grails core requesting custom suite functionality from test-app!).

The create-webtest script now re-uses the generation code that comes with Grails and as such supports packages properly but does not generate as much sample code as before (it's basically just a test skeleton). The old method of attempting to generate a basic test for the given domain was not reliable and providing little benefit (imo).

A list of fixed issues is here: http://jira.codehaus.org/browse/GRAILSPLUGINS/fixforversion/16068

Comments

Thanks a lot Lee! Nice

Thanks a lot Lee! Nice work.

Cheers
Sven Lange