test_containers_are_the_runnable_entry_points_said_to_be_derived¶
Tests › tests/test_wiki_architecture.py
What this test is for
Why it exists
L2: one container per script / main, linked to its flow; threads are not containers.
Given
- —
When
l2 = _level(architecture_html("Demo", _GRAPH, _ENTRIES), 2)
Then
- ✓ l2 contains ">demo</text>"
- ✓ l2 contains ">run</text>"
- ✓ l2 does not contain ">worker</text>"
- ✓ l2 contains 'href="flow-main.html"'
- ✓ l2 contains "derived from entry points"
- ✓ l2 contains "data stores"
tests/test_wiki_architecture.py:56 · its file's page
What it checks (3)
assert ">demo</text>" in l2 and ">run</text>" in l2 and ">worker</text>" not in l2observes_levelvial2assert 'href="flow-main.html"' in l2observes_levelvial2assert "derived from entry points" in l2 and "data stores" in l2observes_levelvial2
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
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 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-046 measured