Java Reference
In-Depth Information
Figure 7-15. Simple textual response
Testing the Controller
Listing 7-5 illustrates the BookControllerTests test generated by Grails.
Listing 7-5. BookControllerTests Generated by Grails
package bookstore
import grails.test.mixin.*
import org.junit.*
* See the API for {@link grails.test.mixin.web.ControllerUnitTestMixin} for usage instructions
class BookControllerTests {
void testSomething() {
fail "Implement me"
Search WWH ::

Custom Search