Clover is a code coverage tool that can easily be integrated into the Cúram build environment. A number of Ant targets are provided to aid in the integration of Clover. For these targets to work correctly the clover.jar and clover.license files must be obtained and installed in the <ANT_HOME>/lib directory. More information on obtaining and using Clover can be found at http://www.atlassian.com/software/clover/overview.
- clover.server - This is the equivalent of the server target and also includes instrumenting the compiled .java files with the necessary Clover information.
- clover.supplement - This is the equivalent of the supplement target and also includes instrumenting the compiled .java files with the necessary Clover information.
- clover.report.html - This target will generate a html report detailing code coverage. The report is generated into the <SERVER_DIR>/clover/clover_html folder.
- clover.report.viewer - This target will launch the Clover viewer with details of the code coverage.