Archive for the ‘plugin’ Category

One week with WhenWorksForYou.com

Monday, July 13th, 2009

Last week I launched http://www.whenworksforyou.com, a new Grails website that lets you coordinate schedules with other people to find the best date for your next event. Our first week provided lots of great feedback from users. One of the biggest gripes was not being able to subscribe to ...

Grails Code-Coverage plugin updated to run with Grails 1.1

Monday, January 12th, 2009

I've made some changes to the Grails code-coverage plugin to support Grails 1.1. If you're using Grails 1.1-beta2, you can try it out by running grails install-plugin code-coverage. Documentation can be found at http://www.grails.org/Test+Code+Coverage+Plugin

Controller.$_closure1 – what? Oh, you mean .index()!

Thursday, November 20th, 2008

So it's been bugging me for a while that the action names within a controller always showed up like this on my code coverage reports: Well, no longer! Version 0.9 of the Grails Code Coverage plugin now does some post processing on the Cobertura reports that replace the Controller.$_closure1 ugliness ...

Added generate-unit-test-case script to Test Template plugin

Sunday, November 16th, 2008

As pointed out in the docs for the Grails Testing Plugin, constraints often contain a lot of logic for your application and are rarely tested. To help out with that, the Test Template plugin now provides a script that will create a stub of a unit test for you for ...

Generated Controller Test Cases

Sunday, November 16th, 2008

The generated controller scaffolding from Grails is a great tool for learning the framework quickly. It provides examples of controllers, controller actions, simple GORM methods on your domain classes, Groovy Server Pages and tag libraries - everything you need to get started - EXCEPT for how to unit test ...