passed Passed in the packaged run.
What this test is for Why it exists
THE NEGATIVE CONTROL. Widening the searched set must not make a genuinely absent name start matching something; a correct negative has to survive.
Verifies REQ-DDB-QUERY-002
→ When
q.search(_class_db(tmp_path), "NoSuchWidgetAnywhere")→ Then
✓ q.search(_class_db(tmp_path), "NoSuchWidgetAnywhere") equals []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.
… 211 earlier steps
command-line usercommand-line user command-line usercommand-line user command-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/query/_common.py other filesother files other filesother files other files loop (line 1576) loop loop (line 1494) loop opt (line 1497) opt loop (line 1507) loop main 212. corpus_payload → _symbol_corpus 212 _symbol_corpus 213. _symbol_corpus → search_counted 213 search_counted 214. search_counted → connect 214 connect ▶ test enters 215–216. search_counted → _memberdef_corpora 215 _memberdef_corpora +1 more 217. _expansion_sql → has_columns 217 has_columns 218. has_columns → table_exists 218 table_exists 219. _memberdef_corpora → _memberdef_candidates 219 _memberdef_candidates 220. _memberdef_candidates → table_exists 220 table_exists 221. _memberdef_candidates → documented_first 221 documented_first 222–223. documented_first → records_provenance 222 records_provenance +1 more 224. _memberdef_candidates → symbol_provenance 224 symbol_provenance 225. symbol_provenance → records_provenance 225 records_provenance 226. _memberdef_candidates → self_declared_paths 226 self_declared_paths 227–228. _memberdef_candidates → _one_line 227 _one_line +1 more … 1 step between
command-line usercommand-line user command-line usercommand-line user command-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/query/_common.py clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.py other filesother files other filesother files other files loop (line 1507) loop main 230. _memberdef_candidates → _search_rank 230 _search_rank 231. _memberdef_candidates → symbol_provenance 231 symbol_provenance 232. search_counted → _class_candidates 232 _class_candidates ▶ test enters 233. _class_candidates → _search_rank 233 _search_rank 234. _class_candidates → class_rows 234 class_rows 235. class_rows → table_exists 235 table_exists 236. class_rows → strip_xml 236 strip_xml 237. search_counted → _config_candidates 237 _config_candidates 238. _config_candidates → _search_rank 238 _search_rank 239. _config_candidates → gate_symbol_rows 239 gate_symbol_rows 240. gate_symbol_rows → table_exists 240 table_exists 241. gate_symbol_rows → has_columns 241 has_columns 242. search_counted → _file_candidates 242 _file_candidates 243. _file_candidates → self_declared_paths 243 self_declared_paths 244–245. _file_candidates → _search_rank 244 _search_rank +1 more 246. _file_candidates → file_doc_rows 246 file_doc_rows 247. file_doc_rows → table_exists 247 table_exists 248. _file_candidates → undocumented_path_rows 248 undocumented_path_rows 249. undocumented_path_rows → table_exists 249 table_exists 250. undocumented_path_rows → has_columns 250 has_columns 251. undocumented_path_rows → table_exists 251 table_exists 252. _symbol_corpus → search_emptiness 252 search_emptiness 253. search_emptiness → index_scope 253 index_scope … 147 later steps
2 more tests/test_query.py:1443 · its file's page
What it checks (1) assert q.search(_class_db(tmp_path), "NoSuchWidgetAnywhere") == [] observes search 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_search_for_an_absent_class_name_is_still_empty→ search → _class_db 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 (1) Also reaches 5 requirements Its run touches their code; that is reach, not proof.