test_requirement_and_test_charts_are_drawn

Tests › tests/test_wiki_site.py

passed Passed in the packaged run.

What this test is for

Given

  1. page = site["requirements.html"]
→

When

  1. —
→

Then

  1. ✓ page.count('class="donut"') equals 2
  2. ✓ page contains 'data-label="PASS" data-count="2"'
  3. ✓ page contains 'data-label="GAP" data-count="1"'
  4. ✓ page contains 'data-label="passed" data-count="1"'
  5. ✓ page contains 'data-label="failed" data-count="1"'

tests/test_wiki_site.py:290 · its file's page

What it checks (3)

  1. assert page.count('class="donut"') == 2 not attributed
  2. assert 'data-label="PASS" data-count="2"' in page and 'data-label="GAP" data-count="1"' in page not attributed
  3. assert ( 'data-label="passed" data-count="1"' in page and 'data-label="failed" data-count="1"' in page ) not attributed

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.

Requirements it verifies (15)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-011catalogunknown
REQ-DDB-WIKI-012catalogunknown
REQ-DDB-WIKI-013catalogunknown
REQ-DDB-WIKI-014catalogunknown
REQ-DDB-WIKI-015catalogunknown
REQ-DDB-WIKI-018catalogunknown
REQ-DDB-WIKI-020catalogunknown
REQ-DDB-WIKI-021catalogunknown
REQ-DDB-WIKI-022catalogunknown
REQ-DDB-WIKI-023catalogunknown
REQ-DDB-WIKI-025catalogunknown
REQ-DDB-WIKI-031catalogunknown
REQ-DDB-WIKI-044catalogunknown
REQ-DDB-WIKI-050catalogunknown
REQ-DDB-WIKI-052catalogunknown