test_the_flow_page_puts_detail_behind_counts

Tests › tests/test_wiki_ux_small.py

passed Passed in the packaged run.

What this test is for

Why it exists

A-1: the diagram box scrolls; table and functions fold.

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ _SCRIPT contains "data-goto"
  2. ✓ _STYLE contains ".flow-wrap{max-height:80vh;overflow:auto}"
  3. ✓ "".join( _functions({("a", "x.py"), ("b", "y.py")}) ) contains '<details class="fold"><summary>2 functions</summary>'

What it exercises

The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.

Build this wiki from the index · 2 of 400 steps

… 228 earlier steps

callercallercallercallerclew/wiki/symbols.pyclew/wiki/symbols.pyclew/wiki/symbols.pyclew/wiki/symbols.pyclew/wiki/flowpage.pyclew/wiki/flowpage.pyclew/wiki/flowpage.pyclew/wiki/flowpage.pyother filesother filesother filesother filesloop (line 290)loopbuild_wiki229. flow_page → code229code230. flow_page → symbol_href230symbol_href231. symbol_href → anchor231anchor▶ test enters232. symbol_href → page_for232page_for233. flow_page → code233code234. flow_page → table234table

… 166 later steps

tests/test_wiki_ux_small.py:232 · its file's page

What it checks (2)

  1. assert "data-goto" in _SCRIPT and ".flow-wrap{max-height:80vh;overflow:auto}" in _STYLE not attributed
  2. assert '<details class="fold"><summary>2 functions</summary>' in "".join( _functions({("a", "x.py"), ("b", "y.py")}) ) 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.

Also reaches 1 requirement

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