test_doxygen_with_sqlite3_support_passes_the_doctor

Tests › tests/test_init.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. check = init_command._check_doxygen(repo)
→

Then

  1. ✓ 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

command-line usercommand-line usercommand-line usercommand-line userclew/init_command.pyclew/init_command.pyclew/init_command.pyclew/init_command.pyother filesother filesother filesother filesloop (line 312)looploop (line 314)looptry (line 1304)trymain172–173. diagnose → _check_mcp_sdk172_check_mcp_sdk +1 more174. _check_doxygen → uses_rustdoc174uses_rustdoc▶ test enters175–176. uses_rustdoc → discover_doxyfile175discover_doxyfile +1 more177. _check_doxygen → _needs_doxygen177_needs_doxygen178. _needs_doxygen → claims178claims179. _check_doxygen → doxygen_supports_sqlite3179doxygen_supports_sqlite3180. doxygen_supports_sqlite3 → clean_subprocess_env180clean_subprocess_env181. diagnose → _check_indexable181_check_indexable182. _check_indexable → discover_doxyfile182discover_doxyfile

… 218 later steps

tests/test_init.py:1404 · its file's page

What it checks (1)

  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_doxygen via check

Where the product reaches it

  • main → init_main → diagnose → _check_doxygen (flow)

Call flow

test_doxygen_with_sqlite3_support_passes_the_doctor→_check_doxygen

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_doxygen_with_sqlite3_support_passes_the_doctor · 1 checks_check_doxygendoxygen_supports_sqlite3REQ-DDB-CLI-002 · measured_check_doxygenuses_rustdocdiscover_doxyfileREQ-DDB-INDEX-001 · inferred_check_doxygendoxygen_supports_sqlite3clean_subprocess_envREQ-DDB-PIPE-006 · measured_check_doxygen_needs_doxygenREQ-DDB-PIPE-012 · inferred
Also reaches 4 requirements

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