test_a_not_run_row_names_no_call_site¶
Tests › tests/test_wiki_flow.py
What this test is for
Why it exists
W-8: the folded "… N not run" row showed the call site `clew/cli.py:0`, a line that does not exist. A stub stands for several calls, so it names none.
Given
stub = SimpleNamespace(not_run=11)call = SimpleNamespace(not_run=0)
When
_site_cell(stub, {"link": "x.html#L0", "site": "clew/cli.py:0"})_site_cell(call, {"link": "", "site": "clew/cli.py:12"})
Then
- ✓ _site_cell(stub, {"link": "x.html#L0", "site": "clew/cli.py:0"}) equals ""
- ✓ _site_cell(call, {"link": "", "site": "clew/cli.py:12"}) contains "clew/cli.py:12"
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
… 222 earlier steps
… 173 later steps
tests/test_wiki_flow.py:413 · its file's page
What it checks (2)
assert _site_cell(stub, {"link": "x.html#L0", "site": "clew/cli.py:0"}) == ""observes_site_cellassert "clew/cli.py:12" in _site_cell(call, {"link": "", "site": "clew/cli.py:12"})observes_site_cell
Where the product reaches it
build_wiki→_build_site→flow_page→_site_cell(flow)
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.
Requirements it verifies (3)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-WIKI-001 | catalog | unknown |
| REQ-DDB-WIKI-008 | catalog | unknown |
| REQ-DDB-WIKI-047 | catalog | unknown |