Load automated test results in CTRF format and run outcome-gated checks against the boot-sequence spec.

What’s in this folder#

11-verification-results-ctrf/
  boot-tests.ctrf.json    # CTRF report: TEST-001 passed
  coverage.json           # NOT a CTRF file; auto-skipped silently

How CTRF maps to requirements#

CTRF test entries bind to the spec via the extra.x-reqmd block (all fields optional):

{
  "name": "Test_Boot_Time",
  "status": "passed",
  "extra": { "x-reqmd": { "id": "TEST-001" } }
}
FieldWhat it does
idBinds the result directly to a measure (requirement with a verify: attr).
caseA stable test-case identity. With id, it keys the result so several cases can attach to one measure; without id, it names a synthesized test case.
verifiesUpstream requirement IDs the test exercises. With case it synthesizes a test case that traces to them (tests-as-code).
descriptionMarkdown body of a synthesized test case.

A test with neither id nor verifies is skipped silently; a test that declares x-reqmd but binds nothing warns as unbound-result (suppress with --ignore-unbound-results).

CTRF status → reqmd outcome:

CTRF statusreqmd outcome
passedpass
failedfail
skippedskipped
pending / otherinconclusive
any + flaky: trueinconclusive

Run outcome-gated checks#

reqmd check 02-trace-your-spec/ --results 11-verification-results-ctrf/

When results are loaded, reqmd runs two additional checks against each measure’s rolled-up evidence (its own results plus results of its approved downstream test cases; strict aggregation — any fail → fail, else inconclusive, else skipped, else pass):

CheckLevelWhen it fires
missing-verdictWARNINGAn approved measure has no evidence; draft downstream cases are reported as ignored
failing-verdictERRORA measure’s rolled-up verdict is fail; the message names the failing case(s)

Draft and deferred/rejected measures are skipped. Result-attributed findings appear in the Verification results section.

The coverage.json file in this folder is silently skipped — reqmd auto-detects it’s not a CTRF file (no results.tests[] object).

Export with verdicts#

# HTML with color-coded verdict badges and an expandable evidence list
reqmd export html 02-trace-your-spec/ --results 11-verification-results-ctrf/ -o html-out/

# CSV with Verdict, Verdict Source, and Verdict Cases columns
reqmd export csv 02-trace-your-spec/ --results 11-verification-results-ctrf/ -o csv-out/

Where to look things up#

What’s next#

CTRF covers automated tests. Manual verification methods (review, inspection, analysis) are documented as markdown — go to Step 12.