Grails

Grails: Few tips for writing integration tests

Just thought I would share with you few tips or key points we should remember while writing integration test cases: 1.  Flush and clear the session object for every single test case for example class FooTests extends GroovyTestCase { def sessionFactory void setUp() { sessionFactory.currentSession.flush() ...

by Amit Jain
Tag: controller integration test
05-Nov-2009