test_a_flow_depth_of_zero_is_refused_not_defaulted¶
Tests › tests/test_wiki_config_values.py
What this test is for
Why it exists
F16: depth 0 draws nothing, so it is a problem — never silently 3.
Given
config, problems = _load( tmp_path, " flows:\n - {entry: main, depth: 0}\n - {entry: run}\n" )
When
- —
Then
- ✓ any("depth" in p for p in problems) holds
- ✓ [f.depth for f in config.flows] equals [3, 3]
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.
Build this wiki from the index · 37 of 400 steps
… 6 steps between
… 343 later steps
tests/test_wiki_config_values.py:56 · its file's page
What it checks (2)
assert any("depth" in p for p in problems), problemsnot attributedassert [f.depth for f in config.flows] == [3, 3]not attributed
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_a_flow_depth_of_zero_is_refused_not_defaulted→_loadWhat 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.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-GUARD-012 measured
- REQ-DDB-WIKI-054 inferred