passed Passed in the packaged run.
What this test is for Why it exists
The test says nothing about why.
Given
catalog = tmp_path / "reqs.yaml"monkeypatch.chdir(tmp_path)catalog.write_text("requirements:\n REQ-0001:\n name: Legacy\n")→ When
config = deep_merge( CONFIG_DEFAULTS, { "validate": {"tags": {"req": {"pattern": r"^REQ-[A-Z]+-[0-9]{3}$"}}}, "requirements": {"file": catalog.name, "format": "yaml"}, }, )load_requirements(config)→ Then
✓ raises RequirementsErrorWhat it exercises The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
… 42 earlier steps
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py loop (line 651) loop opt (line 653) opt opt (line 733) opt main 43–44. load_config → apply_opt_in_languages 43 apply_opt_in_languages +1 more 45. deep_merge → deep_merge 45 deep_merge 46. load_config → deep_merge 46 deep_merge 47. _run → run_precommit 47 run_precommit … 6 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.pyclew/guard/impact.py loop (line 391) loop main 54. run_precommit → _validate_files 54 _validate_files 55. _validate_files → load_requirements_full 55 load_requirements_full 56. load_requirements_full → _get_requirements_config 56 _get_requirements_config 57. _get_requirements_config → get_requirements 57 get_requirements 58. _get_requirements_config → resolve_contained_path 58 resolve_contained_path 59. load_requirements_full → _validate_requirements 59 _validate_requirements 60. _validate_requirements → get_validate 60 get_validate 61. _validate_requirements → _summarise_id 61 _summarise_id 62. _validate_files → load_external_requirements 62 load_external_requirements 63. load_external_requirements → get_requirements 63 get_requirements … 208 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.pyclew/guard/impact.py loop (line 583) loop opt (line 587) opt main 272–273. impact_report → build_report 272 build_report +1 more 274. load_requirements → _get_requirements_config 274 _get_requirements_config ▶ test enters 275. load_requirements → load_requirements_full 275 load_requirements_full 276–277. build_report → _place_untagged 276 _place_untagged +1 more … 80 later steps
tests/guard/test_guard_impact.py:255 · its file's page
Where the product reaches it main → _run → load_config → deep_merge (flow) main → _run → run_precommit → impact_report → build_report → load_requirements (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 4 requirements Its run touches their code; that is reach, not proof.