|
Clover 2.1 Documentation
|
DescriptionThe <clover-log> task reports coverage information to the console at different levels. Parameters
Nested elements<Package>Specifies a named package to restrict the report to. Multiple <package> elements can be specified. Parameters
<Sourcepath>Specifies an Ant path that Clover should use when looking for source files. Examples<clover-log/> Prints a summary of code coverage to the console. <clover-log>
<package name="com.acme.killerapp.core"/>
</clover-log>
Prints a summary of code coverage for the package com.acme.killerapp.core to the console. <clover-log level="statement"> <package name="com.acme.killerapp.core"/> </clover-log> Prints detailed (source-level) code coverage information for the package com.acme.killerapp.core to the console. <clover-log level="statement" filter="catch"> <package name="com.acme.killerapp.core"/> </clover-log> As above, but catch blocks will not be considered in coverage reporting. <clover-log level="statement"> <sourcepath> <pathelement path="/some/other/location"/> </sourcepath> </clover-log> Prints source-level coverage report to the console. Clover will look for source files in the directory /some/other/location. |
