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

Description

The <clover-snapshot> task generates a snapshot file used to assist Clover in optimizing the tests run in subsequent. This task should be run at the end of a build (i.e. after all unit tests have run).

Parameters

Attribute

Description

Required

file

Specifies an alternative location for the snapshot file.

No; defaults to the initstring + ".snapshot".

span

Clover interval (e.g. "2m" or "3h"); specifies, for the initial build cycle, the span for coverage used in generating the snapshot file used for test optimization; normally only specified when multiple interleaved compiles & test runs happen during a build cycle

No; defaults to "0s" (zero seconds).

Examples

Generates a snapshot file used to assist Clover.

Specifies an alternative location of "C:\My Documents\clover.snapshot" for the snapshot file.

Defines a custom span of "3m" (three minutes) used in generating the snapshot file used for Test Optimization.

Labels
  • None



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.