test_every_recognised_test_is_found_not_only_the_linked

Tests › tests/test_wiki_site.py

passed Passed in the packaged run.

What this test is for

Given

  1. _root, db = repo
→

When

  1. with connect(db) as conn: every = {d.name for d in _test_definitions(conn, None)} linked = {d.name for d in _test_definitions(conn, {"test_load"})}
→

Then

  1. ✓ linked equals {"test_load"}
  2. ✓ linked is at most every

What it exercises

The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.

Build this wiki from the index · 1 of 400 steps

… 325 earlier steps

callercallercallercallerclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyother filesother filesother filesother filesbuild_wiki326. test_pages → connect326connect327. test_pages → _test_definitions327_test_definitions328. _test_definitions → table_exists328table_exists▶ test enters329. test_pages → _briefs329_briefs330. _briefs → strip_xml330strip_xml

… 70 later steps

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

What it checks (1)

  1. assert linked == {"test_load"} and linked <= every observes _test_definitions via every

Where the product reaches it

  • build_wiki → _build_site → test_pages → _test_definitions (flow)
  • dossier → connect (flow)

Call flow

test_every_recognised_test_is_found_not_only_the_linked→connect→_test_definitions

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_every_recognised_test_is_found_not_only_the_linked · 1 checksconnectREQ-DDB-QUERY-001 · measured_test_definitionstable_existsREQ-DDB-QUERY-003 · measured_test_definitionsREQ-DDB-WIKI-026 · measured

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
Also reaches 4 requirements

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