test_an_overlay_carrying_other_sections_is_refused_by_name

Tests › tests/test_wiki_overlay.py

passed Passed in the packaged run.

What this test is for

Why it exists

An overlay layers `wiki:` only: requirements and tests stay the repository's.

Given

  1. repo = _repo(tmp_path)
  2. overlay = tmp_path / "org.yaml"
  3. overlay.write_text("wiki:\n title: Org\ntests:\n junit: [x.xml]\n")
→

When

  1. with wiki_overlay(overlay): _config, problems = load_wiki_config(repo)
→

Then

  1. ✓ 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

callercallercallercallerclew/wiki/build.pyclew/wiki/build.pyclew/wiki/build.pyclew/wiki/build.pyclew/wiki/config.pyclew/wiki/config.pyclew/wiki/config.pyclew/wiki/config.pybuild_wiki1. build_wiki → load_wiki_config1load_wiki_config2. load_wiki_config → _read_section2_read_section▶ test enters3. load_wiki_config → _overlaid3_overlaid4–5. load_wiki_config → _renamed4_renamed +1 more

… 395 later steps

tests/test_wiki_overlay.py:52 · its file's page

What it checks (1)

  1. assert any("tests" in p and "wiki:" in p for p in problems), problems not attributed

Where the product reaches it

  • build_wiki → load_wiki_config (flow)

Call flow

test_an_overlay_carrying_other_sections_is_refused_by_name→_repo→wiki_overlay→load_wiki_config

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_an_overlay_carrying_other_sections_is_refused_by_name · 1 checksload_wiki_config_requirements_sectionread_requirements_sectionREQ-DDB-GUARD-012 · inferredload_wiki_config_commentsallREQ-DDB-WIKI-054 · inferred
Also reaches 2 requirements

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