test_what_was_not_measured_says_so¶
Tests › tests/test_wiki_cisummary.py
What this test is for
Why it exists
No report is "not measured", never a zero.
Given
- —
When
text = ci_summary("Lib", [_ev("R1", "MISSING", ())], {}, None)
Then
- ✓ text contains "No test report was read"
- ✓ text contains "Coverage: not measured"
- ✓ text does not contain "0 passed"
- ✓ text does not contain "0.0%"
tests/test_wiki_cisummary.py:44 · its file's page
What it checks (2)
assert "No test report was read" in text and "Coverage: not measured" in textobservesci_summaryviatextassert "0 passed" not in text and "0.0%" not in textobservesci_summaryviatext
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
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-002 measured