Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(report: &CoverageReport, thresholds: Thresholds) -> Outcome
Expand description

Decide whether report meets thresholds.

Fails when total coverage is below fail_under, or when branch coverage was required but the report measured no branches (a misconfigured run).