Skip to end of metadata
Go to start of metadata
All Versions
Clover 2.5 Documentation

Description

The <clover-pdf-report> task generates a PDF report with sensible default settings. If configured, a history point is also generated prior to generation of the full report. For more configuration options, use the <clover-report> task.

Parameters

Attribute

Description

Required

outfile

The filename to write the report to.

Yes.

initstring

The path to the Clover database. If not specified, Clover will use the initstring set by a previous execution of <clover-setup> in the current build sequence. Otherwise, the default database location will be used.

No.

historydir

The directory that contains any clover history points. If this attribute is set, a new history point will be generated prior to the generation of the full report. For more information, see <clover-historypoint>.

No.

title

The title to use in the report.

No.

Examples

This is the simplest way to generate a pdf report. It will be written to the file "clover_coverage.pdf".

This will generate a report in the current directory called "clover_coverage.pdf". A history point will be created in the "clover/historypoints" directory, and all history points in that directory will be used to generate the historical section of the report. The report will be titled "MyProject Coverage".



Log a request with our support team.



Raise an issue for our developers.



See answers from the community.



Tweet, blog and update our documentation.

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 2.5 Australia License.