test_macro_hop_is_resolved_not_exact¶
Tests › tests/test_build_docs_db.py
What this test is for
Why it exists
`exact` is reserved for what doxygen stated DIRECTLY. Both hops here are doxygen's own observations, so this outranks any name match — but the composition is ours, and labelling a joined edge `exact` would make it indistinguishable from an edge doxygen asserted about a single call site.
Verifies REQ-DDB-PIPE-001 REQ-DDB-PIPE-010
Given
- —
When
build_call_edges(macro_hop_db)import_macro_hop_edges(macro_hop_db)conn = sqlite3.connect(str(macro_hop_db))
2 more
confidences = { r[0] for r in conn.execute("SELECT confidence FROM call_edges WHERE source='macro_hop'") }conn.close()
Then
- ✓ confidences equals {"resolved"}
tests/test_build_docs_db.py:656 · its file's page
What it checks (1)
assert confidences == {"resolved"}not 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 (2)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-PIPE-001 | catalog | unknown |
| REQ-DDB-PIPE-010 | catalog | unknown |
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-PIPE-003 measured
- REQ-DDB-SCHEMA-012 measured