passed Passed in the packaged run.
What this test is for Why it exists
The test says nothing about why.
Given
content = ( "#ifndef FOO_H\n#define FOO_H\n" "/**\n * @file\n * @brief Header.\n * @version 1.0\n */\n" "void f(void);\n#endif\n" )→ When
config = deep_merge(BASE_CONFIG, {"validate": {"presence": {"require_file_doxygen": True}}})violations = check_file_presence("a.h", content, config)→ Then
✓ len(violations) equals 0What 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 … 107 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/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py other filesother files other filesother files opt (line 227) opt try (line 241) try opt (line 1133) opt opt (line 1198) opt loop (line 143) loop opt (line 1171) opt loop (line 181) loop main 155. validate_file → unconfigured_language 155 unconfigured_language 156. validate_file → check_file_presence 156 check_file_presence 157. check_file_presence → get_validate 157 get_validate ▶ test enters 158. check_file_presence → _find_file_doxygen_start 158 _find_file_doxygen_start 159–160. check_file_presence → _first_code_line 159 _first_code_line +1 more 161–162. check_file_presence → _check_file_block_tags 161 _check_file_block_tags +1 more 163. _extract_file_block_text → _docstring_block 163 _docstring_block 164. _check_file_block_tags → parse_doxygen_tags 164 parse_doxygen_tags 165–170. parse_doxygen_tags → _mask_escaped_at 165 _mask_escaped_at +5 more 171. _check_file_block_tags → apply_autobrief 171 apply_autobrief 172. apply_autobrief → _mask_escaped_at 172 _mask_escaped_at … 185 later steps
tests/guard/test_guard_checks_extended.py:145 · its file's page
What it checks (1) assert len(violations) == 0 observes check_file_presence via violations Where the product reaches it main → _run → run_precommit → _validate_files → validate_file → check_file_presence (flow) main → _run → load_config → deep_merge (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 3 requirements Its run touches their code; that is reach, not proof.