test_flows_past_the_cap_open_in_a_details

Tests › tests/test_wiki_viewer.py

passed Passed in the packaged run.

What this test is for

Why it exists

V5: 7 flows on a changed function's row — 5 shown, 2 behind "2 more", all linked.

Given

  1. pages = [SimpleNamespace(name=f"flow-{i}", title=f"Flow {i}", role="product") for i in range(7)]
→

When

  1. html = _flow_cell(pages)
  2. all(f'href="flow-{i}.html"' in html for i in range(7))
→

Then

  1. ✓ html contains "<summary>2 more</summary>"
  2. ✓ all(f'href="flow-{i}.html"' in html for i in range(7)) holds

tests/test_wiki_viewer.py:36 · its file's page

What it checks (2)

  1. assert "<summary>2 more</summary>" in html observes _flow_cell via html
  2. assert all(f'href="flow-{i}.html"' in html for i in range(7)) observes all

Where the product reaches it

  • dossier → _rank_enum_over_mirror → _class_side_is_only_enum_mirrors → all (flow)

Call flow

test_flows_past_the_cap_open_in_a_details→_flow_cell→all

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_flows_past_the_cap_open_in_a_details · 2 checks_flow_cellREQ-DDB-WIKI-029 · measuredallREQ-DDB-WIKI-054 · inferred
Also reaches 2 requirements

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