Grails - Testing Plugin - Release No...
Version 0.5
- Supports cascading validation on domain classes. Just call
GrailsUnitTestCase.enableCascadingValidation() after mocking all the required domain classes.
- Supports
render … as XML/JSON .
- The JSON and XML properties have been added to the mock request.
- The
is<level>Enabled log methods are now mocked.
- These domain class methods are now mocked:
-
count() .
-
exists() .
-
create() .
-
discard() .
- Load codecs for testing using
GrailsUnitTestCase.loadCodec(codecClass) .