test_macro_hop_is_resolved_not_exact

Tests › tests/test_build_docs_db.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. build_call_edges(macro_hop_db)
  2. import_macro_hop_edges(macro_hop_db)
  3. conn = sqlite3.connect(str(macro_hop_db))
2 more
  1. confidences = { r[0] for r in conn.execute("SELECT confidence FROM call_edges WHERE source='macro_hop'") }
  2. conn.close()
→

Then

  1. ✓ confidences equals {"resolved"}

tests/test_build_docs_db.py:656 · its file's page

What it checks (1)

  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

test_macro_hop_is_resolved_not_exact→build_call_edges→import_macro_hop_edges

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.

test_macro_hop_is_resolved_not_exact · 1 checksbuild_call_edgesREQ-DDB-PIPE-003 · measured

Requirements it verifies (2)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-001catalogunknown
REQ-DDB-PIPE-010catalogunknown
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.