test_a_root_that_contributes_files_is_not_flagged¶
Tests › tests/test_extra_input_patterns.py
What this test is for
Why it exists
The ordinary case must stay silent. One matching file under the root is enough — doxygen will read it, so the flag did its job.
Given
doxyfile = _doxyfile(tmp_path, "FILE_PATTERNS = *.h")_write(tmp_path / "include" / "aes.h")_write(tmp_path / "include" / "notes.txt")
When
flagged = ts.roots_matching_no_file_pattern(doxyfile, tmp_path, ["include"], None, tmp_path)
Then
- ✓ flagged equals []
tests/test_extra_input_patterns.py:124 · its file's page
What it checks (1)
assert flagged == []observesroots_matching_no_file_patternviaflagged
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 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-CONFIG-001 measured
- REQ-DDB-INDEX-001 measured