test_an_unknown_language_has_no_diagram¶
Tests › tests/test_wiki_activity.py
What this test is for
Why it exists
No parser: no steps, no SVG.
Given
- —
When
steps_of(["fn x() {}"], "src/m.rs", 1)activity_svg([], "x")
Then
- ✓ steps_of(["fn x() {}"], "src/m.rs", 1) equals []
- ✓ activity_svg([], "x") equals ""
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
Build this wiki from the index · 1 of 400 steps
… 284 earlier steps
… 111 later steps
tests/test_wiki_activity.py:72 · its file's page
What it checks (1)
assert steps_of(["fn x() {}"], "src/m.rs", 1) == [] and activity_svg([], "x") == ""observessteps_of
Where the product reaches it
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-045 measured