test_a_test_no_product_flow_reaches_says_so

Tests › tests/test_wiki_checkpins.py

passed Passed in the packaged run.

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

  1. tool = FlowPage("flow-gen", "gen", frozenset(), calls=(("gen", "helper"),), role="tooling")
  2. product = FlowPage( "flow-main", "main", frozenset(), calls=(("main", "run"), ("run", "save")), role="product" )
  3. html = _context({"save"}, [tool, product])
→

When

  1. —
→

Then

  1. ✓ _context({"helper"}, [tool, product]) contains "No product flow reaches"
  2. ✓ html contains "<code>main</code> → <code>run</code> → <code>save</code>"
  3. ✓ html contains 'href="flow-main.html"'

tests/test_wiki_checkpins.py:134 · its file's page

What it checks (2)

  1. assert "No product flow reaches" in _context({"helper"}, [tool, product]) not attributed
  2. assert ( "<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)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-043catalogunknown
Also reaches 1 requirement

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