SpecLink

Documentation
Source

The exact precedence of failed, closed, partial, and open.

How requirement status is computed

Status precedence

StatusCondition
Failed At least one required test failed or required check reported fail.
Closed Required tests and checks both exist; every required test passed and every required check was observed passing.
Partial Some meaningful passing or failing evidence exists, but required evidence is incomplete and no failure already made the requirement Failed.
Open No meaningful evidence exists for the requirement in this run.

What the snapshot records

Each RequirementEvidence stores expected, passed, failed, and missing counts for tests and checks plus the required IDs. ClosureSnapshot totals closed, partial, failed, and open active requirements and calculates closure percent as closed divided by total.

Recomputation is run-specific

Closure is recomputed for a selected RegressionRun inside a transaction. The same requirement can be closed in one run and failed or partial in another without overwriting historical evidence.