clew
  • Requirements
  • Flows
  • Tests
  • Change impact
  • Map
  • Architecture
  • Docs
  • SBOM

test_implementers_and_flow_steps_link_to_symbol_sections¶

Tests › tests/test_wiki_symbols.py

passed Passed in the packaged run.

What this test is for

Why it exists

P1f: dossier references instead of bare source links.

Verifies REQ-DDB-WIKI-025 REQ-DDB-WIKI-026 REQ-DDB-WIKI-027

Given

  1. req = site["requirements.html"]
  2. flow = site["flow-load.html"]
  3. steps = flow[flow.index('<table class="clew steps"') :]
→

When

  1. —
→

Then

  1. ✓ req contains 'href="sym-src-data-py.html#s-load"'
  2. ✓ steps[: steps.index("</table>")] contains 'href="sym-src-data-py.html#s-parse"'

tests/test_wiki_symbols.py:47 · its file's page

What it checks (2)

  1. assert 'href="sym-src-data-py.html#s-load"' in req not attributed
  2. assert 'href="sym-src-data-py.html#s-parse"' in steps[: steps.index("</table>")] 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 (3)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-025catalogunknown
REQ-DDB-WIKI-026catalogunknown
REQ-DDB-WIKI-027catalogunknown
clew Generated by clew wiki from the repository's index