test_components_are_the_blocks_declared_and_inferred_apart

Tests › tests/test_wiki_architecture.py

passed Passed in the packaged run.

What this test is for

Why it exists

L3: first-party blocks with their links; inferred drawn distinct; vendor not inside.

Given

  1. —
→

When

  1. l3 = _level(architecture_html("Demo", _GRAPH, _ENTRIES), 3)
→

Then

  1. ✓ l3 contains 'class="c4-comp declared"'
  2. ✓ l3 contains 'class="c4-comp inferred"'
  3. ✓ l3 does not contain ">vendor/zlib</text>"
  4. ✓ l3 contains 'data-link="API→pkg/core"'

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

What it checks (3)

  1. assert 'class="c4-comp declared"' in l3 and 'class="c4-comp inferred"' in l3 observes _level via l3
  2. assert ">vendor/zlib</text>" not in l3 observes _level via l3
  3. assert 'data-link="API→pkg/core"' in l3 observes _level via l3

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

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