Skip to content

Rules

Parity evaluates configured rules for every source file in each structure block.

RulePurpose
test-existsConfirms the expected test file exists.
enforce-coverage-linkConfirms tests declare the source they cover.
minimum-coverageConfirms all-test per-file coverage meets a threshold.
matched-coverageConfirms the matching test covers enough executable lines.
coverage-attributionReports matching and incidental coverage attribution.

Rules that accept min values require a number from 0 through 100.