test_pruned_directories_are_not_walked

Tests › tests/test_toolchain.py

passed Passed in the packaged run.

What this test is for

Why it exists

The test says nothing about why.

Verifies REQ-DDB-PIPE-011

Given

  1. _write(tmp_path, "already/vendor/x.c")
→

When

  1. expand_globs(tmp_path, ("**/x.c",), [str(tmp_path / "already")])
→

Then

  1. ✓ expand_globs(tmp_path, ("**/x.c",), [str(tmp_path / "already")]) equals []

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

What it checks (1)

  1. assert expand_globs(tmp_path, ("**/x.c",), [str(tmp_path / "already")]) == [] 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_pruned_directories_are_not_walked→_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_pruned_directories_are_not_walked · 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.