test_without_layers_the_field_is_absent

Tests › tests/test_wiki_imports.py

passed Passed in the packaged run.

What this test is for

Why it exists

No layers configured → `layers is None`, not ().

Verifies REQ-DDB-WIKI-009

Given

  1. —
→

When

  1. row = next(r for r in requirement_evidence(traced, junit=[]) if r.req_id == "R-A")
→

Then

  1. ✓ row.layers is None

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 · 2 of 400 steps

… 344 earlier steps

callercallercallercallerclew/wiki/build.pyclew/wiki/build.pyclew/wiki/build.pyclew/wiki/build.pyother filesother filesother filesother filesbuild_wiki345. slice_svg → _hidden345_hidden346. _build_site → parse_junit346parse_junit347. parse_junit → fold_cases347fold_cases▶ test enters348. fold_cases → _folded348_folded349–350. parse_junit → _case_name349_case_name +1 more

… 50 later steps

tests/test_wiki_imports.py:318 · its file's page

What it checks (1)

  1. assert row.layers is None observes requirement_evidence via row

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_without_layers_the_field_is_absent→requirement_evidence

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_without_layers_the_field_is_absent · 1 checksrequirement_evidenceconnectREQ-DDB-QUERY-001 · measuredrequirement_evidence_implementer_spanstable_existsREQ-DDB-QUERY-003 · measuredrequirement_evidenceREQ-DDB-WIKI-002 · measuredrequirement_evidence_tierallREQ-DDB-WIKI-054 · inferred

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-009catalogunknown
Also reaches 7 requirements

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