test_a_small_requirement_draws_every_test¶
Tests › tests/test_wiki_reqdiagram.py
What this test is for
Why it exists
Up to the threshold: one row per test, one edge per measured link.
Given
- —
When
svg = evidence_svg(_row(SUMMARY_TESTS))
Then
- ✓ svg.count('class="test"') equals SUMMARY_TESTS
- ✓ svg does not contain "summary"
tests/test_wiki_reqdiagram.py:32 · its file's page
What it checks (1)
assert svg.count('class="test"') == SUMMARY_TESTS and "summary" not in svgobservesevidence_svgviasvg
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
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-022 measured