test_neighbours_past_the_cap_open_in_a_details¶
Tests › tests/test_wiki_viewer.py
What this test is for
Why it exists
V3: 15 callers — 12 inline, 3 behind "3 more", every name present.
Given
pairs = [(f"f{i}", "a.py") for i in range(15)]html = _names(pairs, {("f0", "a.py")})
When
all(f">f{i}<" in html for i in range(15))
Then
- ✓ html contains "<summary>3 more</summary>"
- ✓ all(f">f{i}<" in html for i in range(15)) holds
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_viewer.py:26 · its file's page
What it checks (2)
assert "<summary>3 more</summary>" in htmlnot attributedassert all(f">f{i}<" in html for i in range(15))observesall
Where the product reaches it
dossier→_rank_enum_over_mirror→_class_side_is_only_enum_mirrors→all(flow)
Call flow
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 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-025 measured
- REQ-DDB-WIKI-054 inferred