test_a_small_requirement_draws_every_test

Tests › tests/test_wiki_reqdiagram.py

passed Passed in the packaged run.

What this test is for

Why it exists

Up to the threshold: one row per test, one edge per measured link.

Given

  1. —
→

When

  1. svg = evidence_svg(_row(SUMMARY_TESTS))
→

Then

  1. ✓ svg.count('class="test"') equals SUMMARY_TESTS
  2. ✓ svg does not contain "summary"

tests/test_wiki_reqdiagram.py:32 · its file's page

What it checks (1)

  1. assert svg.count('class="test"') == SUMMARY_TESTS and "summary" not in svg observes evidence_svg via svg

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_a_small_requirement_draws_every_test→evidence_svg→_row

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_small_requirement_draws_every_test · 1 checksevidence_svgREQ-DDB-WIKI-022 · measured
Also reaches 1 requirement

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