test_pattern_matching_is_case_insensitive

Tests › tests/test_extra_input_patterns.py

passed Passed in the packaged run.

What this test is for

Why it exists

`*.h` against `AES.H`. The two possible errors here are not symmetric: a false alarm refuses a build that would have worked, a missed case leaves the pre-existing silent behaviour. Case-insensitive matching admits MORE files and therefore flags FEWER roots, which is the safe direction for a hard failure.

Given

  1. doxyfile = _doxyfile(tmp_path, "FILE_PATTERNS = *.h")
  2. _write(tmp_path / "include" / "AES.H")
→

When

  1. ts.roots_matching_no_file_pattern(doxyfile, tmp_path, ["include"], None, tmp_path)
→

Then

  1. ✓ ts.roots_matching_no_file_pattern(doxyfile, tmp_path, ["include"], None, tmp_path) equals []

tests/test_extra_input_patterns.py:176 · its file's page

What it checks (1)

  1. assert ts.roots_matching_no_file_pattern(doxyfile, tmp_path, ["include"], None, tmp_path) == [] observes roots_matching_no_file_pattern

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_pattern_matching_is_case_insensitive→_doxyfile→_write→roots_matching_no_file_pattern

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_pattern_matching_is_case_insensitive · 1 checksroots_matching_no_file_patterneffective_file_patternsREQ-DDB-CONFIG-001 · measuredroots_matching_no_file_patternREQ-DDB-INDEX-001 · measured
Also reaches 2 requirements

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