test_the_system_exports_as_structurizr¶
Tests › tests/test_wiki_exports.py
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
dsl = (_html(site) / "exports/system.dsl").read_text()
When
- —
Then
- ✓ dsl.startswith("workspace") holds
- ✓ dsl contains "softwareSystem"
- ✓ dsl contains 'container "src"'
- ✓ dsl contains "views"
- ✓ dsl contains "autolayout"
tests/test_wiki_exports.py:80 · its file's page
What it checks (2)
assert dsl.startswith("workspace") and "softwareSystem" in dslobserves_htmlviadslassert 'container "src"' in dsl and "views" in dsl and "autolayout" in dslobserves_htmlviadsl
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→_htmlWhat 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)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-WIKI-029 | catalog | unknown |