Repository navigation
Test Plan Part 8
The Wiki Canonical Test Pages CI job turns the real execution results into rsr/test-evidence@1 evidence so
that a wiki test page can be canonical. It adds no tests and skips none. node scripts/wikiEvidence.mjs runs
node experiments/verify-local-gates.mjs and each node <file> step of npm test once, at the current commit:
every gate is a case of experiments/verify-local-gates.mjs; every tracked script a gate launches (recorded at run
time by scripts/wikiEvidenceTrace.mjs, not guessed from the source) is a case of that script, passing only when its
gate passed; each npm test step is one case that passes when the process exits 0. observations.py evidence --format jest-json converts the report, and python3 scripts/check_wiki_canonical.py builds the wiki twice from
docs/ with the canonical block of .wiki-canonical.json (merged into .wiki-generator.json at run time, so the
wiki-vault gate and wiki-publish keep generating without evidence), and requires identical output, no
placeholder page and observations.py check passing.
A test page is canonical only when a file in the CodeRef of a requirement that links it ran and passed at the
same commit and no such file failed. A page whose requirements name no file that ran stays a stub: for example
a verifier script that no gate launches, a receipt, a document, or a Planned or Superseded requirement. The
evidence is execution evidence at a commit on one platform (linux-x64); it does not say the extension is verified,
and the lanes in docs/testing/not-executed.json are not run.
wiki-publish runs the same adapter and checks before it checks out the wiki, publishes with
scripts/check_wiki_canonical.py --out .wiki, and compares a fresh clone of the published wiki with the canonical build
from the same evidence (--check-dir); a failing gate, test or check stops the job before anything is published.
- Entry: the run-result schema and bus message schema are frozen for the slice under test.
-
Exit: every
LBA-REQunder the slice has a passing deterministic test; the local CI/CD gate (experiments/verify-local-gates.mjs) is green on both runners; the deterministic-logic suites enforce a line-coverage threshold of at least 75% (fail-under75% in local CI/CD) once the actor logic is implemented; transport and deployment items are validated on the real targets and recorded as maintainer evidence.
Generated from docs/testing/test-plan.md on develop. Edit the source in the repository, not this page.