test_an_undeclared_never_walk_directory_is_still_pruned_silently

Tests › tests/test_toolchain.py

passed Passed in the packaged run.

What this test is for

Why it exists

THE CONTROL, and the reason the fix is "match first" rather than "stop pruning": an undeclared `node_modules` must not become an exclusion the owner never asked for, which would put every such tree into the Doxyfile's EXCLUDE and the cache key.

Verifies REQ-DDB-PIPE-011

Given

  1. _write(tmp_path, "node_modules/dep/index.js", "module.exports = 1;\n")
  2. _write(tmp_path, "vendor/x.c")
→

When

  1. expand_globs(tmp_path, ("vendor/**",))
→

Then

  1. ✓ expand_globs(tmp_path, ("vendor/**",)) equals [tmp_path / "vendor"]

tests/test_toolchain.py:181 · its file's page

What it checks (1)

  1. assert expand_globs(tmp_path, ("vendor/**",)) == [tmp_path / "vendor"] observes expand_globs

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_an_undeclared_never_walk_directory_is_still_pruned_silently→_write→expand_globs

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_an_undeclared_never_walk_directory_is_still_pruned_silently · 1 checksexpand_globsREQ-DDB-CONFIG-009 · measured

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-011catalogunknown
Also reaches 1 requirement

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