test_no_declaration_writes_nothing_at_all

Tests › tests/test_dispatch.py

passed Passed in the packaged run.

What this test is for

Why it exists

The state every repo is in today. An undeclared repo has no indirection convention clew may assume, so zero synthetic rows is a correct negative — and every existing build must keep reproducing it exactly.

Given

  1. db = _make_db(tmp_path, _IFACE_FUNCTIONS, compounds=_IFACE_COMPOUNDS, call_edges=[(12, 10)])
→

When

  1. manifest = load_dispatch_manifest(None)
  2. import_declared_dispatch_edges(db, tmp_path, manifest)
→

Then

  1. ✓ manifest.is_empty() holds
  2. ✓ _declared_edges(db) equals []
  3. ✓ _boundaries(db) equals []

tests/test_dispatch.py:735 · its file's page

What it checks (3)

  1. assert manifest.is_empty() observes load_dispatch_manifest via manifest
  2. assert _declared_edges(db) == [] observes _declared_edges
  3. assert _boundaries(db) == [] observes _boundaries

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_no_declaration_writes_nothing_at_all→load_dispatch_manifest→import_declared_dispatch_edges→_declared_edges→_boundaries

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_no_declaration_writes_nothing_at_all · 3 checksimport_declared_dispatch_edges_harvest_sitesrun_harvestREQ-DDB-PIPE-003 · measuredimport_declared_dispatch_edges… 3 calls …_parseable_fileREQ-DDB-PIPE-011 · inferredimport_declared_dispatch_edges… 5 calls …has_languageREQ-DDB-PIPE-012 · inferredimport_declared_dispatch_edges_table_edges_definition_preferring_name_indexREQ-DDB-QUERY-003 · inferredimport_declared_dispatch_edges_ensure_external_boundaries_tableREQ-DDB-SCHEMA-003 · inferredload_dispatch_manifestREQ-DDB-SCHEMA-004 · measuredimport_declared_dispatch_edges_ensure_external_boundaries_tableREQ-DDB-SCHEMA-007 · inferredload_dispatch_manifestdeclaration_originREQ-DDB-SCHEMA-012 · measuredimport_declared_dispatch_edges… 5 calls …allREQ-DDB-WIKI-054 · inferred
Also reaches 9 requirements

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