Skip to main content

measure

Function measure 

Source
pub fn measure(
    root: &Path,
    thresholds: Thresholds,
    omit: &[String],
) -> Result<Outcome>
Expand description

Run the unit suite under coverage.py in root and check it against thresholds. omit is the coverage-rule exemptions as root-relative paths. The coverage CLI, with pytest importable, must be on PATH.