bound
Specifies the set of verification rules that control the coverage conditions required for the verification task to pass.
An example of bound configuration:
// At least 75% of lines should be covered in order for build to pass
bound {
aggregationForGroup = AggregationType.COVERED_PERCENTAGE // Default aggregation
coverageUnits = CoverageUnit.LINE
minValue = 75
}
Content copied to clipboard
See also
abstract fun bound(minValue: Int, maxValue: Int, coverageUnits: CoverageUnit = CoverageUnit.LINE, aggregationForGroup: AggregationType = AggregationType.COVERED_PERCENTAGE)(source)
A shortcut for
bound {
maxValue = maxValue
minValue = minValue
coverageUnits = coverageUnits
aggregationForGroup = aggregation
}
Content copied to clipboard