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

test_a_requirements_tests_link_to_their_sections¶

Tests › tests/test_wiki_symbols.py

passed Passed in the packaged run.

What this test is for

Why it exists

ROUND 4, R6: a test function links to ITS OWN PAGE (result, checks, what it reaches); a Gherkin scenario, which is not a function, still opens its section on the feature's page.

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

Given

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

When

  1. —
→

Then

  1. ✓ body contains 'href="test-tests-test_data-py-test_load.html"'
  2. ✓ body contains 'href="sym-tests-features-finish-feature.html#s-Finish_runs"'

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

What it checks (2)

  1. assert 'href="test-tests-test_data-py-test_load.html"' in body not attributed
  2. assert 'href="sym-tests-features-finish-feature.html#s-Finish_runs"' in body 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