test_adjacent_exercised_steps_stay_one_window¶
Tests › tests/test_wiki_slice_identity.py
What this test is for
Why it exists
Steps 2 and 5 with pad 2: the windows overlap, so one is drawn.
Given
- —
When
slice_svg(_flow(50), Slice(exercised=(2, 5)), pad=2)
Then
- ✓ slice_svg(_flow(50), Slice(exercised=(2, 5)), pad=2).count("<svg") equals 1
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 · 8 of 400 steps
… 217 earlier steps
… 113 steps between
… 53 later steps
tests/test_wiki_slice_identity.py:61 · its file's page
What it checks (1)
assert slice_svg(_flow(50), Slice(exercised=(2, 5)), pad=2).count("<svg") == 1observesslice_svg
Where the product reaches it
build_wiki→_build_site→test_pages→_exercises→_slices_html→slice_svg(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 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-041 measured