This documentation is for Clover 3.2.x View the latest version of

Unknown macro: {spacejump}

or visit the current Clover documentation home page.

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

${clover.dest}

directory.

clover.current

Generates an HTML and XML report to

${clover.dest}

using

${project.title}

.

clover.report

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

${clover.project.historydir}

.

clover.save-history

Saves a history point to

${clover.project.historydir}

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.