test_containers_are_the_runnable_entry_points_said_to_be_derived

Tests › tests/test_wiki_architecture.py

passed Passed in the packaged run.

What this test is for

Why it exists

L2: one container per script / main, linked to its flow; threads are not containers.

Given

  1. —
→

When

  1. l2 = _level(architecture_html("Demo", _GRAPH, _ENTRIES), 2)
→

Then

  1. ✓ l2 contains ">demo</text>"
  2. ✓ l2 contains ">run</text>"
  3. ✓ l2 does not contain ">worker</text>"
  4. ✓ l2 contains 'href="flow-main.html"'
  5. ✓ l2 contains "derived from entry points"
  6. ✓ l2 contains "data stores"

tests/test_wiki_architecture.py:56 · its file's page

What it checks (3)

  1. assert ">demo</text>" in l2 and ">run</text>" in l2 and ">worker</text>" not in l2 observes _level via l2
  2. assert 'href="flow-main.html"' in l2 observes _level via l2
  3. assert "derived from entry points" in l2 and "data stores" in l2 observes _level via l2

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_containers_are_the_runnable_entry_points_said_to_be_derived→_level→architecture_html

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_containers_are_the_runnable_entry_points_said_to_be_derived · 3 checksarchitecture_htmlREQ-DDB-WIKI-046 · measured
Also reaches 1 requirement

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