test_the_flows_page_says_what_each_flow_is_for

Tests › tests/test_wiki_scenario.py

passed Passed in the packaged run.

What this test is for

Why it exists

A flow's declared intent sits under its title in the Flows table.

Given

  1. page = FlowPage( "flow-d", "Look up one name", frozenset(), role="product", intent="Everything about it." )
→

When

  1. html = _role_block("product", [page])
→

Then

  1. ✓ html contains "Look up one name"
  2. ✓ html contains '<span class="intent">Everything about it.</span>'

tests/test_wiki_scenario.py:74 · its file's page

What it checks (1)

  1. assert "Look up one name" in html and '<span class="intent">Everything about it.</span>' in html observes _role_block via html

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_block

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.

test_the_flows_page_says_what_each_flow_is_for · 1 checks_role_blocktableREQ-DDB-WIKI-012 · measured_role_block_badgespage_ofREQ-DDB-WIKI-022 · inferred
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.