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