Archive for April 17th, 2009
Ode to MockFor(March): Part 2 - mockDomain
Posted by Zan Thrash in Grails on April 17th, 2009
I know March has long passed. My intentions to do this series during the month of March feel grossly short due to time constrains and a little bit of laziness. In [Part 1][] we started our discussion of the Testing Plugin and how it helps the Grails developer test the constraints on their domain classes. This time around we are going to look at how the Testing Plugin helps you write tests that use all those methods that are injected into your Domain Class at runtime.