test_every_declaration_section_is_reported_on

Tests › tests/test_propose.py

passed Passed in the packaged run.

What this test is for

Why it exists

A draft that simply omits `locks:` leaves an owner unable to tell "we looked and found nothing" from "we never looked" — opposite actions. So the registry must cover the declaration module's whole surface, and this test is what makes a newly-added section impossible to leave out silently.

Given

  1. —
→

When

  1. section_names()
→

Then

  1. ✓ set(section_names()) equals set(KNOWN_SECTIONS)
  2. ✓ { SECTION_SHARED_KEY, SECTION_THREADS, SECTION_MQTT, SECTION_DATA_MODEL, SECTION_LOCKS, SECTION_ENTRY_PATTERNS, SECTION_DISPATCH, INDEX_SCOPE_SECTION, } is at most set(section_names())

tests/test_propose.py:209 · its file's page

What it checks (2)

  1. assert set(section_names()) == set(KNOWN_SECTIONS) observes section_names
  2. assert { SECTION_SHARED_KEY, SECTION_THREADS, SECTION_MQTT, SECTION_DATA_MODEL, SECTION_LOCKS, SECTION_ENTRY_PATTERNS, SECTION_DISPATCH, INDEX_SCOPE_SECTION, } <= set(section_names()) observes section_names

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_every_declaration_section_is_reported_on→section_names

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_declaration_section_is_reported_on · 2 checkssection_namesREQ-DDB-CONFIG-001 · measured
Also reaches 1 requirement

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