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: Spock setup
14-Jun-2011