clover-clean
Description
The <clover-clean>
task deletes the coverage database and associated coverage recording files.
Parameters
Attribute |
Description |
Required |
---|---|---|
haltOnError |
Controls whether an error (such as a failure to delete a file) stops the build or is merely reported to the screen (" |
No; defaults to " |
initstring |
The initstring of the database to clean. |
No; if not specified here, Clover will use the default location ( |
keepdb |
Controls whether to keep the coverage database file (" |
No; defaults to " |
keepTestSnapshot |
Specifies whether the test snapshot file should be kept or deleted; defaults to true. (" |
No; if not specified here, the last test snapshot will be stored. \(i) This is not deleted between builds (unlike the |
verbose |
Controls whether to show the name of each deleted file (" |
No; defaults to " |
Examples
<clover-clean/>
Deletes the coverage database and all of the coverage recordings.
<clover-clean verbose="true"/>
Deletes the coverage database and all of the coverage recordings, printing out a log statement for each file deleted.
<clover-clean keepdb="true"/>
Deletes the coverage recordings but keeps the coverage database.