test_the_flow_page_puts_detail_behind_counts¶
Tests › tests/test_wiki_ux_small.py
What this test is for
Why it exists
A-1: the diagram box scrolls; table and functions fold.
Given
- —
When
- —
Then
- ✓ _SCRIPT contains "data-goto"
- ✓ _STYLE contains ".flow-wrap{max-height:80vh;overflow:auto}"
- ✓ "".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
… 166 later steps
tests/test_wiki_ux_small.py:232 · its file's page
What it checks (2)
assert "data-goto" in _SCRIPT and ".flow-wrap{max-height:80vh;overflow:auto}" in _STYLEnot attributedassert '<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.
- REQ-DDB-WIKI-025 measured