test_the_system_exports_as_structurizr

Tests › tests/test_wiki_exports.py

passed Passed in the packaged run.

What this test is for

Why it exists

Structurizr DSL: a software system, a container per component, a relation per link.

Verifies REQ-DDB-WIKI-029

Given

  1. dsl = (_html(site) / "exports/system.dsl").read_text()
→

When

  1. —
→

Then

  1. ✓ dsl.startswith("workspace") holds
  2. ✓ dsl contains "softwareSystem"
  3. ✓ dsl contains 'container "src"'
  4. ✓ dsl contains "views"
  5. ✓ dsl contains "autolayout"

tests/test_wiki_exports.py:80 · its file's page

What it checks (2)

  1. assert dsl.startswith("workspace") and "softwareSystem" in dsl observes _html via dsl
  2. assert 'container "src"' in dsl and "views" in dsl and "autolayout" in dsl observes _html via dsl

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_the_system_exports_as_structurizr→_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.

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-029catalogunknown