test_an_unknown_entry_is_refused_by_name¶
Tests › tests/test_wiki_flow.py
What this test is for
Why it exists
No flow is invented for an entry the index does not hold.
Verifies REQ-DDB-WIKI-008 REQ-DDB-WIKI-047
Given
db, repo = indexed
When
derive_flow(db, repo, "no_such_entry")
Then
- ✓ raises ValueError
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 · 8 of 400 steps
… 165 earlier steps
… 223 later steps
1 more
- Look up one name: everything the index holds about it · 5 of 226 steps
tests/test_wiki_flow.py:99 · its file's page
Where the product reaches it
build_wiki→_build_site→flow_page→derive_flow(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 (2)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-WIKI-008 | catalog | unknown |
| REQ-DDB-WIKI-047 | catalog | unknown |
Also reaches 5 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-QUERY-001 measured
- REQ-DDB-QUERY-003 measured
- REQ-DDB-QUERY-010 measured
- REQ-DDB-WIKI-001 measured
- REQ-DDB-WIKI-041 measured