test_a_test_no_product_flow_reaches_says_so¶
Tests › tests/test_wiki_checkpins.py
What this test is for
Why it exists
ABSENCE IS STATED (P5.5): a test whose calls no product flow reaches gets the sentence, not an empty space; a tooling flow does not count as the product.
Verifies REQ-DDB-WIKI-043
Given
tool = FlowPage("flow-gen", "gen", frozenset(), calls=(("gen", "helper"),), role="tooling")product = FlowPage( "flow-main", "main", frozenset(), calls=(("main", "run"), ("run", "save")), role="product" )html = _context({"save"}, [tool, product])
When
- —
Then
- ✓ _context({"helper"}, [tool, product]) contains "No product flow reaches"
- ✓ html contains "<code>main</code> → <code>run</code> → <code>save</code>"
- ✓ html contains 'href="flow-main.html"'
tests/test_wiki_checkpins.py:134 · its file's page
What it checks (2)
assert "No product flow reaches" in _context({"helper"}, [tool, product])not attributedassert ( "<code>main</code> → <code>run</code> → <code>save</code>" in html and 'href="flow-main.html"' in html )not attributed
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-WIKI-043 | catalog | unknown |
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-044 measured