test_an_overlay_carrying_other_sections_is_refused_by_name¶
Tests › tests/test_wiki_overlay.py
What this test is for
Why it exists
An overlay layers `wiki:` only: requirements and tests stay the repository's.
Given
repo = _repo(tmp_path)overlay = tmp_path / "org.yaml"overlay.write_text("wiki:\n title: Org\ntests:\n junit: [x.xml]\n")
When
with wiki_overlay(overlay): _config, problems = load_wiki_config(repo)
Then
- ✓ any("tests" in p and "wiki:" in p for p in problems) holds
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
… 395 later steps
tests/test_wiki_overlay.py:52 · its file's page
What it checks (1)
assert any("tests" in p and "wiki:" in p for p in problems), problemsnot attributed
Where the product reaches it
build_wiki→load_wiki_config(flow)
Call flow
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.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-GUARD-012 inferred
- REQ-DDB-WIKI-054 inferred