test_implementation_with_at_least_one_body_does_NOT_warn

Tests › tests/test_build_docs_db.py

passed Passed in the packaged run.

What this test is for

Why it exists

One real body is enough to prove the preprocessor is satisfied.

Verifies REQ-DDB-PIPE-001 REQ-DDB-PIPE-010

Given

  1. db_path = _bodies_db(tmp_path, [("src/a.c", True), ("src/b.c", False)])
→

When

  1. warn_if_no_function_bodies(db_path)
→

Then

  1. ✓ warn_if_no_function_bodies(db_path) equals 0

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

What it checks (1)

  1. assert warn_if_no_function_bodies(db_path) == 0 observes warn_if_no_function_bodies

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_implementation_with_at_least_one_body_does_NOT_warn→_bodies_db→warn_if_no_function_bodies

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_implementation_with_at_least_one_body_does_NOT_warn · 1 checkswarn_if_no_function_bodiesREQ-DDB-INDEX-001 · measured

Requirements it verifies (2)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-001catalogunknown
REQ-DDB-PIPE-010catalogunknown
Also reaches 1 requirement

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