test_non_source_files_are_enumerated

Tests › tests/test_treescan_pruning.py

passed Passed in the packaged run.

What this test is for

Why it exists

The scan is deliberately NOT extension-filtered. A filter is the obvious way to make this walk cheaper and it would drop exactly these paths.

Given

  1. roots, excludes = _make_scan_tree(tmp_path)
→

When

  1. ts.enumerate_tree(roots, excludes, tmp_path)
→

Then

  1. ✓ ts.enumerate_tree(roots, excludes, tmp_path) contains name

tests/test_treescan_pruning.py:152 · its file's page

What it checks (1)

  1. assert name in ts.enumerate_tree(roots, excludes, tmp_path) observes enumerate_tree

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_non_source_files_are_enumerated→_make_scan_tree→enumerate_tree

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_non_source_files_are_enumerated · 1 checksenumerate_treeREQ-DDB-INDEX-002 · measuredenumerate_treerel_keyREQ-DDB-PIPE-003 · measured
Also reaches 2 requirements

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