passed Passed in the packaged run.
What this test is for Given
repo = tmp_path / "refused"repo.mkdir()5 more (repo / "Doxyfile").write_text("GENERATE_SQLITE3 = YES\n", encoding="utf-8")target = st.Target( repo_path=str(repo), slug="refused-test", db_path=str(tmp_path / "state" / "clew.db") )def _refuse(**_kwargs): raise SystemExit(1)monkeypatch.setattr(cli_mod, "build_index", _refuse)result = DocsDbServer.__new__(DocsDbServer)._run_build(target, None)→ → Then
✓ result["ok"] is False✓ result["error"].startswith("SystemExit:") holdsWhat 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.
… 34 earlier steps
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/mcp_server/state.pyclew/mcp_server/state.py clew/mcp_server/state.pyclew/mcp_server/state.py try (line 1664) try _first_build_worker 35. target_for → state_home 35 state_home 36. _first_build_worker → _run_build 36 _run_build 37. _run_build → nested_tree_cache 37 nested_tree_cache ▶ test enters 38–39. _run_build → _run_build_walked 38 _run_build_walked +1 more 40. _sub_index_rejection → first_party_sub_index 40 first_party_sub_index 41. _sub_index_rejection → _buildable_sub_indexes 41 _buildable_sub_indexes … 16 steps between
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/state.pyclew/mcp_server/state.py clew/mcp_server/state.pyclew/mcp_server/state.py other filesother files other filesother files opt (line 3215) opt try (line 3260) try _first_build_worker 58. _offered_sub_indexes → list 58 list 59. _run_build_walked → _buildable_sub_indexes 59 _buildable_sub_indexes 60. _run_build_walked → discover_doxyfile 60 discover_doxyfile 61. _run_build_walked → captured_output 61 captured_output 62. _run_build_walked → build_lock 62 build_lock 63–64. build_lock → _os_lock 63 _os_lock +1 more 65. _run_build_walked → db_status 65 db_status 66–67. db_status → _options_meta 66 _options_meta +1 more … 29 steps between
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/mcp_server/freshness.pyclew/mcp_server/freshness.py clew/mcp_server/freshness.pyclew/mcp_server/freshness.py clew/declaration.pyclew/declaration.py clew/declaration.pyclew/declaration.py try (line 3260) try alt (line 1171) alt opt (line 485) opt _first_build_worker 97–98. notices → _derived_notice 97 _derived_notice +1 more 99. _run_build_walked → declared_scope_rejection 99 declared_scope_rejection 100. declared_scope_rejection → _declared_index_scope 100 _declared_index_scope 101. _declared_index_scope → load_declaration_located 101 load_declaration_located 102. load_declaration_located → _read_mapping 102 _read_mapping 103. _read_mapping → _parsed_declaration 103 _parsed_declaration 104. load_declaration_located → _checked_sections 104 _checked_sections … 25 steps between
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py loop (line 1416) loop try (line 3260) try _first_build_worker 130. _existing_paths → _is_within 130 _is_within 131. _declared_index_scope → _existing_paths 131 _existing_paths 132. _run_build_walked → _sub_index_scope 132 _sub_index_scope 133. _sub_index_scope → first_party_sub_index 133 first_party_sub_index 134. _sub_index_scope → derive_sub_indexes 134 derive_sub_indexes … 1 step between
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/declaration.pyclew/declaration.py clew/declaration.pyclew/declaration.py other filesother files other filesother files catch (line 3328) catch _first_build_worker 136. declared_sub_index_excludes → load_declaration 136 load_declaration 137. load_declaration → load_declaration_located 137 load_declaration_located 138. _run_build_walked → _bounded_output 138 _bounded_output 139. _bounded_output → all 139 all 140. _run_build_walked → _failure_result 140 _failure_result 141. _run_build_walked → _bounded_output 141 _bounded_output 142. _run_build_walked → 142 … 2 calls not run 2 more tests/test_mcp_server.py:1062 · its file's page
What it checks (2) assert result["ok"] is False not attributed assert result["error"].startswith("SystemExit:") not attributed 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.
Requirements it verifies (5) Also reaches 5 requirements Its run touches their code; that is reach, not proof.