test_doxygen_with_sqlite3_support_passes_the_doctor¶
Tests › tests/test_init.py
What this test is for
Why it exists
THE POSITIVE HALF, and the half whose absence has shipped a broken check in this repo before: a suite with a test for the failure path and none for the success path let a completely broken install path stay green. Without this, narrowing the probe until it rejected everything would pass the test above.
Given
- —
When
check = init_command._check_doxygen(repo)
Then
- ✓ check.status equals CHECK_OK
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.
clew — `main` (clew/cli.py) · 6 of 400 steps
… 171 earlier steps
… 218 later steps
tests/test_init.py:1404 · its file's page
What it checks (1)
assert check.status == CHECK_OK, ( f"the fixture's doxygen advertises GENERATE_SQLITE3 and must pass; got " f"{check.status!r}: {check.detail}" )observes_check_doxygenviacheck
Where the product reaches it
main→init_main→diagnose→_check_doxygen(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 4 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-CLI-002 measured
- REQ-DDB-INDEX-001 inferred
- REQ-DDB-PIPE-006 measured
- REQ-DDB-PIPE-012 inferred