test_the_impact_report_shape_is_in_the_manifest¶
Tests › tests/test_export.py
What this test is for
Why it exists
PS3 (owner Q/A 2026-11-19): `impact.json` carries a `schema_version`, and its keys are covered like the wire keys.
Given
- —
When
impact = wire_manifest()["impact"]
Then
- ✓ impact["schema_version"] equals IMPACT_SCHEMA_VERSION
- ✓ impact["entry_keys"] equals ["functions", "req_id", "req_name", "reviewers", "tests"]
- ✓ impact["function_keys"] equals ["file", "name", "version", "via"]
- ✓ impact["report_keys"] equals ["entries", "schema_version", "unmapped", "unmapped_files"]
tests/test_export.py:224 · its file's page
What it checks (4)
assert impact["schema_version"] == IMPACT_SCHEMA_VERSIONobserveswire_manifestviaimpactassert impact["entry_keys"] == ["functions", "req_id", "req_name", "reviewers", "tests"]observeswire_manifestviaimpactassert impact["function_keys"] == ["file", "name", "version", "via"]observeswire_manifestviaimpactassert impact["report_keys"] == ["entries", "schema_version", "unmapped", "unmapped_files"]observeswire_manifestviaimpact
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-QUERY-014 measured