test_req_trace_findme¶
Tests › tests/test_query.py
What this test is for
Given
- —
When
rt = q.req_trace(rich_db, "REQ-0621")impls = {i.name: i for i in rt.implementers}
Then
- ✓ rt.title equals "Find-my-robot audible ping"
- ✓ rt.priority equals "P1"
- ✓ impls contains "sound_play_findme"
- ✓ impls["sound_play_findme"].liveness equals "live"
- ✓ rt.tests contains "test_findme_chime_plays"
- ✓ impls does not contain "test_findme_chime_plays"
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.
Look up one name: everything the index holds about it · 4 of 226 steps
… 17 earlier steps
… 25 steps between
… 156 steps between
… 11 later steps
3 more
- Build this wiki from the index · 1 of 400 steps
- clew — `main` (clew/cli.py) · 1 of 400 steps
- `main` (scripts/export_parity.py) · 1 of 203 steps
tests/test_query.py:558 · its file's page
What it checks (6)
assert rt.title == "Find-my-robot audible ping"observesreq_traceviartassert rt.priority == "P1"observesreq_traceviartassert "sound_play_findme" in implsnot attributedassert impls["sound_play_findme"].liveness == "live"not attributedassert "test_findme_chime_plays" in rt.testsobservesreq_traceviartassert "test_findme_chime_plays" not in implsnot attributed
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.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-QUERY-002 | 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-SCHEMA-006 measured
- REQ-DDB-SCHEMA-015 measured