test_doxyfile_makes_the_repo_indexable

Tests › tests/test_init.py

passed Passed in the packaged run.

What this test is for

Why it exists

A Doxyfile makes the repo indexable.

Given

  1. del stub_env
  2. (repo / "Doxyfile").write_text("INPUT = .\n", encoding="utf-8")
→

When

  1. check = _named(init_command.diagnose(repo, INIT_SCOPE_REPO), init_command.CHECK_INDEXABLE)
→

Then

  1. ✓ check.status equals CHECK_OK
  2. ✓ check.detail contains "Doxyfile"

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) · 17 of 400 steps

… 158 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 filesmain159–160. init_main → build_parser159build_parser +1 more161. diagnose → _check_client_config161_check_client_config▶ test enters162. _check_client_config → global_config_evidence162global_config_evidence163. global_config_evidence → claude_state_dir163claude_state_dir

… 1 step between

command-line usercommand-line usercommand-line usercommand-line usercommand-line userclew/scope.pyclew/scope.pyclew/scope.pyclew/scope.pyclew/scope.pyclew/init_command.pyclew/init_command.pyclew/init_command.pyclew/init_command.pyclew/init_command.pyother filesother filesother filesother filesother filesloop (line 312)looploop (line 314)looptry (line 1304)tryloop (line 710)loopmain165. _check_client_config → global_config_available165global_config_available166. global_config_available → global_config_evidence166global_config_evidence167. diagnose → _check_server_command167_check_server_command▶ test enters168. _check_server_command → resolve_server_command168resolve_server_command169–171. resolve_server_command → _locate_script169_locate_script +2 more172–173. diagnose → _check_mcp_sdk172_check_mcp_sdk +1 more174. _check_doxygen → uses_rustdoc174uses_rustdoc175–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_doxyfile183. _check_indexable → derive_scope183derive_scope184. diagnose → _check_declaration184_check_declaration185–186. init_main → _format_check185_format_check +1 more

… 214 later steps

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

What it checks (2)

  1. assert check.status == CHECK_OK observes _named via check
  2. assert "Doxyfile" in check.detail observes _named via check

Where the product reaches it

  • main → init_main → diagnose (flow)

Call flow

test_doxyfile_makes_the_repo_indexable→_named→diagnose

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_doxyfile_makes_the_repo_indexable · 2 checksdiagnoseREQ-DDB-CLI-001 · measureddiagnoseREQ-DDB-CLI-002 · measureddiagnose_check_indexablederive_scopeREQ-DDB-CONFIG-001 · inferreddiagnose… 7 calls …_validate_nodeREQ-DDB-GUARD-012 · inferreddiagnose_check_indexablediscover_doxyfileREQ-DDB-INDEX-001 · measureddiagnose_check_client_configglobal_config_evidenceREQ-DDB-MCP-001 · measureddiagnose_check_doxygendoxygen_supports_sqlite3clean_subprocess_envREQ-DDB-PIPE-006 · measureddiagnose_check_doxygen_needs_doxygenREQ-DDB-PIPE-012 · inferreddiagnose… 7 calls …allREQ-DDB-WIKI-054 · inferred
Also reaches 9 requirements

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