test_a_non_list_ignore_is_reported¶
Tests › tests/test_toolchain.py
What this test is for
Given
(tmp_path / "toolchain.toml").write_text('[ignore]\npaths = "vendor/**"\n')
When
config = load_toolchain_config(tmp_path)
Then
- ✓ config.index_globs equals ()
- ✓ config.problems holds
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
`main` (clew/guard/main.py) · 6 of 357 steps
… 85 earlier steps
… 259 later steps
1 more
- Build this wiki from the index · 1 of 400 steps
tests/test_toolchain.py:75 · its file's page
What it checks (1)
assert config.index_globs == () and config.problemsobservesload_toolchain_configviaconfig
Where the product reaches it
main→_run→run_precommit→_validate_files→validate_file→gate_exclusion→_gate_matcher→load_toolchain_config(flow)
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.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-PIPE-011 | catalog | unknown |
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-CONFIG-009 measured
- REQ-DDB-WIKI-054 inferred