Bootstrapping Grails integration tests

It is quite easy to prepare test environment the same as the development one. Just use Bootstrap. class BootstrappedTests extends GroovyTestCase { void testBootstrap() { new BootStrap().init(null) assert MyDomain.count() == 5 // Perform your tests here } }