test_a_test_that_calls_into_the_middle_enters_there

Tests › tests/test_wiki_slices.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. cut = slice_of(_FLOW, lines_per_test(_CONTEXTS)["test_load"])
→

Then

  1. ✓ cut.exercised equals (1, 2)
  2. ✓ cut.entered equals ("load",)

tests/test_wiki_slices.py:89 · its file's page

What it checks (2)

  1. assert cut.exercised == (1, 2) observes slice_of via cut
  2. assert cut.entered == ("load",) observes slice_of via cut

Where the product reaches it

  • build_wiki → _build_site → _lines_by_test → lines_per_test (flow)

Call flow

test_a_test_that_calls_into_the_middle_enters_there→slice_of→lines_per_test

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.

test_a_test_that_calls_into_the_middle_enters_there · 2 checkslines_per_testREQ-DDB-WIKI-041 · measured
Also reaches 1 requirement

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