Last updated by pledbrook
4 years ago
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>Enabledlog methods are now mocked. - These domain class methods are now mocked:
-
count(). -
exists(). -
create(). -
discard(). - Load codecs for testing using
GrailsUnitTestCase.loadCodec(codecClass).