test_a_requirements_tests_link_to_their_sections¶
Tests › tests/test_wiki_symbols.py
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.
Given
body = site["requirements.html"]
When
- —
Then
- ✓ body contains 'href="test-tests-test_data-py-test_load.html"'
- ✓ 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)
assert 'href="test-tests-test_data-py-test_load.html"' in bodynot attributedassert 'href="sym-tests-features-finish-feature.html#s-Finish_runs"' in bodynot 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)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-WIKI-025 | catalog | unknown |
| REQ-DDB-WIKI-026 | catalog | unknown |
| REQ-DDB-WIKI-027 | catalog | unknown |