test_a_large_requirement_is_summarised_by_result

Tests › tests/test_wiki_reqdiagram.py

passed Passed in the packaged run.

What this test is for

Why it exists

Above it: buckets with counts, a pointer to the table, and a bounded size.

Given

  1. —
→

When

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

Then

  1. ✓ svg does not contain 'class="test"'
  2. ✓ svg contains ">552 passed</text>"
  3. ✓ svg contains ">1 failed</text>"
  4. ✓ svg contains 'data-edge="load→passed"'
  5. ✓ svg contains "tests table below"
  6. ✓ len(svg) is less than 4000

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

What it checks (4)

  1. assert 'class="test"' not in svg observes evidence_svg via svg
  2. assert ">552 passed</text>" in svg and ">1 failed</text>" in svg observes evidence_svg via svg
  3. assert 'data-edge="load→passed"' in svg and "tests table below" in svg observes evidence_svg via svg
  4. assert len(svg) < 4000, len(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_large_requirement_is_summarised_by_result→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_large_requirement_is_summarised_by_result · 4 checksevidence_svgREQ-DDB-WIKI-022 · measured
Also reaches 1 requirement

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