Archive for the ‘grails’ Category

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

DevJam Presentation on Groovy/Grails

Saturday, January 10th, 2009

This past week I presented on Groovy/Grails to a group of developers here in Minneapolis. Afterwards we had a panel discussion (fishbowl style) and dove into a wide array of topics ranging from dynamic vs. static typed languages, when to consider using Groovy/Grails and when NOT to. It ...

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