test_the_impact_report_shape_is_in_the_manifest

Tests › tests/test_export.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. impact = wire_manifest()["impact"]
→

Then

  1. ✓ impact["schema_version"] equals IMPACT_SCHEMA_VERSION
  2. ✓ impact["entry_keys"] equals ["functions", "req_id", "req_name", "reviewers", "tests"]
  3. ✓ impact["function_keys"] equals ["file", "name", "version", "via"]
  4. ✓ impact["report_keys"] equals ["entries", "schema_version", "unmapped", "unmapped_files"]

tests/test_export.py:224 · its file's page

What it checks (4)

  1. assert impact["schema_version"] == IMPACT_SCHEMA_VERSION observes wire_manifest via impact
  2. assert impact["entry_keys"] == ["functions", "req_id", "req_name", "reviewers", "tests"] observes wire_manifest via impact
  3. assert impact["function_keys"] == ["file", "name", "version", "via"] observes wire_manifest via impact
  4. assert impact["report_keys"] == ["entries", "schema_version", "unmapped", "unmapped_files"] observes wire_manifest via impact

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

test_the_impact_report_shape_is_in_the_manifest→wire_manifest

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.

test_the_impact_report_shape_is_in_the_manifest · 4 checkswire_manifestREQ-DDB-QUERY-014 · measured
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.