Archive for December, 2008

Vote for better Cobertura support in Groovy

Tuesday, December 16th, 2008

Luke Daley pointed out that there's an open issue on the Groovy task list that would help with better Cobertura support for Groovy: http://jira.codehaus.org/browse/GROOVY-3118 Cobertura support is already pretty good, but there are some cases where coverage doesn't quite show up at 100% when it should. Go set up a profile, login, and ...

Overhead of setUp and tearDown in unit tests

Wednesday, December 3rd, 2008

I was watching the output of my Grails unit tests and noticed that tests using the mockDomain feature of the new Testing Plugin seemed to run just slightly slower than straight up unit tests.  This makes sense, as these tests are doing some meta programming magic to add mock dynamic ...