test_tables_become_cards_and_diagrams_pan_on_a_narrow_screen

Tests › tests/test_wiki_site.py

passed Passed in the packaged run.

What this test is for

Given

  1. —
→

When

  1. html = table(["Name", "Count"], [["a", "1"]], numeric=("Count",))
  2. css = site["_static/clew.css"]
→

Then

  1. ✓ html contains 'data-label="Name"'
  2. ✓ html contains 'data-label="Count"'
  3. ✓ css contains "@media(max-width:760px)"
  4. ✓ css contains "attr(data-label)"
  5. ✓ _flow_page(site) contains "data-pz"

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

What it checks (3)

  1. assert 'data-label="Name"' in html and 'data-label="Count"' in html observes table via html
  2. assert "@media(max-width:760px)" in css and "attr(data-label)" in css not attributed
  3. assert "data-pz" in _flow_page(site) observes _flow_page

Where the product reaches it

  • build_wiki → _build_site → flow_page → table (flow)

Call flow

test_tables_become_cards_and_diagrams_pan_on_a_narrow_screen→table→_flow_page

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_tables_become_cards_and_diagrams_pan_on_a_narrow_screen · 3 checkstableREQ-DDB-WIKI-012 · measured

Requirements it verifies (14)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-011catalogunknown
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
Also reaches 1 requirement

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