Grails

Initializations in Grails Unit Test Cases

Most of us have experienced how important the Unit test cases are for our code base. I feel the other thing that is equally important, is the speed at which we can write the unit test cases. In Unit Testing, initializing different objects in setup of the test case (e.g., while testing a method which queries the database) can become a...

by Imran Mir
Tag: grails unit test
14-Jun-2011

Grails

Grails unit testing for beginners

Ques: How is unit testing different from integration testing ? Ans: Integration tests need to bring up the whole grails environment.They talk to the database. All the dynamic GORM methods and properties are available here. Unit testing are small focused, fast loading tests that do not load supporting components. Ques: How can I unit...

by Imran Mir
Tag: grails unit test
14-Jul-2010