Test Coverage & Quality Gates
The 80% Rule
ArchStandards enforces a minimum coverage policy across business services and controllers:
- Target Coverage: 80% line and branch coverage
- Enforced by rule
TEST-003
Why Coverage Matters
Coverage thresholds prevent the gradual erosion of test quality as codebases scale. A high test ratio ensures that refactoring can be undertaken with high confidence.