test_chain_trace_unknown_seed_is_empty¶
Tests › tests/test_query.py
What this test is for
Why it exists
The test says nothing about why.
Given
- —
When
chain = q.chain_trace(rich_db, "no_such_function_xyz")
Then
- ✓ chain.nodes equals []
- ✓ chain.hops equals []
- ✓ chain.candidates 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.
Look up one name: everything the index holds about it · 7 of 226 steps
… 45 earlier steps
… 111 steps between
… 16 steps between
… 35 later steps
1 more
- Build this wiki from the index · 4 of 400 steps
tests/test_query.py:525 · its file's page
What it checks (3)
assert chain.nodes == []observeschain_traceviachainassert chain.hops == []observeschain_traceviachainassert chain.candidates == []observeschain_traceviachain
Where the product reaches it
dossier→_chain_for→chain_trace(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.
Also reaches 6 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-INDEX-004 inferred
- REQ-DDB-QUERY-001 measured
- REQ-DDB-QUERY-002 measured
- REQ-DDB-QUERY-003 measured
- REQ-DDB-QUERY-005 inferred
- REQ-DDB-QUERY-010 measured