Test Code Coverage Plugin

This plugin will generate code coverage reports using Cobertura.

To install:

grails install-plugin code-coverage

To run:
Warning

You must include the Grails environment you want the tests to run in, e.g. grails test test-app-cobertura

grails test test-app-cobertura

Options:

By default, the script will create HTML reports and place them in the tests/report/cobertura directory. If you would prefer XML reports (e.g for a Continuous Integration server), specify the -xml flag like this:

grails test test-app-cobertura -xml

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.