test_the_flows_page_says_what_each_flow_is_for¶
Tests › tests/test_wiki_scenario.py
What this test is for
Why it exists
A flow's declared intent sits under its title in the Flows table.
Given
page = FlowPage( "flow-d", "Look up one name", frozenset(), role="product", intent="Everything about it." )
When
html = _role_block("product", [page])
Then
- ✓ html contains "Look up one name"
- ✓ html contains '<span class="intent">Everything about it.</span>'
tests/test_wiki_scenario.py:74 · its file's page
What it checks (1)
assert "Look up one name" in html and '<span class="intent">Everything about it.</span>' in htmlobserves_role_blockviahtml
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_the_flows_page_says_what_each_flow_is_for→_role_blockWhat 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-WIKI-012 measured
- REQ-DDB-WIKI-022 inferred