test_a_test_that_calls_into_the_middle_enters_there¶
Tests › tests/test_wiki_slices.py
What this test is for
Why it exists
test_load called load() itself: its calls ran (20, 21) but the step main → load did not, so the test enters the flow at load, and main's own steps are outside its slice.
Given
- —
When
cut = slice_of(_FLOW, lines_per_test(_CONTEXTS)["test_load"])
Then
- ✓ cut.exercised equals (1, 2)
- ✓ cut.entered equals ("load",)
tests/test_wiki_slices.py:89 · its file's page
What it checks (2)
assert cut.exercised == (1, 2)observesslice_ofviacutassert cut.entered == ("load",)observesslice_ofviacut
Where the product reaches it
build_wiki→_build_site→_lines_by_test→lines_per_test(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