This documentation relates to Clover 3.1.x
If you are using an earlier version, please view the previous versions of the Clover documentation and select the relevant version.
Skip to end of metadata
Go to start of metadata

Description

The <clover-env> task imports a set of standard Ant targets into the current project.

The following targets will be available:

Target Name

Description

clover.all

Runs clover.clean, with.clover, test, clover.report from a single target.

clover.clean

Deletes the clover database and the

directory.

clover.current

Generates an HTML and XML report to

using

.

clover.report

Same as clover.current, however a history report will also be created, using the historypoints in

.

clover.save-history

Saves a history point to

with.clover

Enables Clover on this build

clover.snapshot

Saves a snapshot file to assist with unit test optimization

Alternatively, running: $ ant -projecthelp will display the list of targets available.

Parameters

This task has no parameters.