passed Passed in the packaged run.
What this test is for Why it exists
A Catch2 case by title and a Python test function by name, each with its file.
Given
repo = _repo(tmp_path)→ When
found = covering_tests( repo, {"REQ-A-001"}, catalog={"REQ-A-001"}, files=["tests/add_test.cpp", "tests/test_add.py", "src/a.cpp"], ## The gate's defaults (its languages): an empty mapping enables no parser. config=load_config(tmp_path / "no-such.yaml"), )→ Then
✓ found["REQ-A-001"] equals [ TestRef(name="adds two numbers", file="tests/add_test.cpp"), TestRef(name="test_adds", file="tests/test_add.py"), ]What 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.
… 16 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 opt (line 733) opt opt (line 705) opt main 17. _run → _setup_logging 17 _setup_logging 18. _run → load_config 18 load_config 19. load_config → refuse_doxygen_guard_leftovers 19 refuse_doxygen_guard_leftovers ▶ test enters 20. load_config → _fresh_defaults 20 _fresh_defaults 21–22. load_config → read_requirements_section 21 read_requirements_section +1 more … 79 steps between
program launcherprogram launcher program launcherprogram launcher program launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/config.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.py other filesother files other filesother files other files opt (line 168) opt loop (line 647) loop opt (line 786) opt opt (line 652) opt main 102. gate_exclusion → binary_file 102 binary_file 103. validate_file → parse_source_file 103 parse_source_file 104. parse_source_file → parse_source_file_with_content 104 parse_source_file_with_content ▶ test enters 105–109. parse_source_file_with_content → parse_content_for_file 105 parse_content_for_file +4 more 110. parse_content_for_file → language_for_file 110 language_for_file 111–112. language_for_file → language_for_extension 111 language_for_extension +1 more 113. language_for_file → _language_from_config 113 _language_from_config 114. parse_content_for_file → parse_functions 114 parse_functions 115. parse_functions → parse_functions_ts 115 parse_functions_ts 116. parse_functions_ts → get_parser_for_language 116 get_parser_for_language 117. parse_functions_ts → get_language_spec 117 get_language_spec 118–119. parse_functions_ts → _collect_functions 118 _collect_functions +1 more 120. _is_rust_test_item → _rust_attributes 120 _rust_attributes 121. _collect_functions → _enclosing_class_for 121 _enclosing_class_for 122. _enclosing_class_for → _rust_impl_self_type 122 _rust_impl_self_type 123. _collect_functions → _declared_function 123 _declared_function 124–125. _collect_functions → _append_declaration 124 _append_declaration +1 more … 1 step between
program launcherprogram launcher program launcherprogram launcher program launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/config.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.py other filesother files other filesother files other files loop (line 647) loop opt (line 658) opt opt (line 377) opt elif (line 379) elif alt (line 380) alt opt (line 400) opt opt (line 681) opt opt (line 683) opt alt (line 684) alt opt (line 227) opt try (line 241) try main 127–128. _append_declaration → _qualified_enclosing 127 _qualified_enclosing +1 more 129–132. _collect_functions → _resolve_function_node 129 _resolve_function_node +3 more 133. _extract_function_name → _name_from_declarator 133 _name_from_declarator 134–137. _collect_functions → _function_carrier 134 _function_carrier +3 more 138–139. _find_preceding_doxygen → _collect_rust_doc 138 _collect_rust_doc +1 more 140. _find_preceding_doxygen → _collect_python_comments 140 _collect_python_comments 141–142. _find_preceding_doxygen → _collect_c_comment 141 _collect_c_comment +1 more 143. _find_preceding_doxygen → parse_doxygen_tags 143 parse_doxygen_tags 144. _find_preceding_doxygen → apply_autobrief 144 apply_autobrief 145. _find_preceding_doxygen → _last_row 145 _last_row 146–149. _collect_functions → _qualified_enclosing 146 _qualified_enclosing +3 more 150. _js_returns_void → _function_carrier 150 _function_carrier 151. _collect_functions → _produced_class 151 _produced_class 152. _produced_class → _function_carrier 152 _function_carrier 153. _collect_functions → _collect_functions 153 _collect_functions 154. _collect_functions → _collect_functions 154 _collect_functions 155. validate_file → unconfigured_language 155 unconfigured_language 156. validate_file → check_file_presence 156 check_file_presence … 6 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py other filesother files other filesother files opt (line 1198) opt loop (line 143) loop loop (line 146) loop elif (line 153) elif opt (line 1171) opt loop (line 181) loop main 163. _extract_file_block_text → _docstring_block 163 _docstring_block 164. _check_file_block_tags → parse_doxygen_tags 164 parse_doxygen_tags 165–168. parse_doxygen_tags → _mask_escaped_at 165 _mask_escaped_at +3 more 169. parse_doxygen_tags → _finalize_tag 169 _finalize_tag 170. parse_doxygen_tags → _finalize_tag 170 _finalize_tag 171. _check_file_block_tags → apply_autobrief 171 apply_autobrief 172. apply_autobrief → _mask_escaped_at 172 _mask_escaped_at … 143 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/coverage.pyclew/guard/coverage.py clew/guard/coverage.pyclew/guard/coverage.py other filesother files other filesother files loop (line 150) loop opt (line 57) opt main 316. analyze_coverage → traceability 316 traceability 317. traceability → is_test_path 317 is_test_path 318. is_test_path → _matcher 318 _matcher ▶ test enters 319. analyze_coverage → covered_via 319 covered_via 320. covered_via → get_requirements 320 get_requirements … 37 later steps
tests/test_impact_reach.py:75 · its file's page
What it checks (1) assert found["REQ-A-001"] == [ TestRef(name="adds two numbers", file="tests/add_test.cpp"), TestRef(name="test_adds", file="tests/test_add.py"), ] observes covering_tests via found Where the product reaches it main → _run → load_config (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 12 requirements Its run touches their code; that is reach, not proof.