This task validates the code coverage database and will stop the build cycle if any class or method or entire project's coverage is lower than the specified threshold.
Table 68. Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
database |
String |
The location of the coverage database. (This is optional if
CoverageSetupTask has run before)
|
n/a | No |
perProject |
Integer |
The minimum code coverage for the entire project. | 25 | No |
perClass |
Integer |
The minimum code coverage for any class. | 25 | No |
perMethod |
Integer |
The minimum code coverage for any method. | 25 | No |
verbose |
Boolean |
Whether to enable detailed logging or not. | false |
No |