test_a_missing_index_is_refused_not_answered

Tests › tests/test_query_cli.py

passed Passed in the packaged run.

What this test is for

Why it exists

A missing --index exits 1 with nothing on stdout.

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

… 201 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 filesopt (line 4018)optmain202. _execute → _print_next_steps202_print_next_steps203. main → query_main203query_main204. query_main → _parser204_parser▶ test enters205. query_main → _locate205_locate206–207. _locate → target_for206target_for +1 more

… 193 later steps

tests/test_query_cli.py:91 · its file's page

Where the product reaches it

Call flow

test_a_missing_index_is_refused_not_answered→_run

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_a_missing_index_is_refused_not_answered_run… 4 calls …records_provenanceREQ-DDB-INDEX-004 · inferred_runquery_main_locatetarget_forREQ-DDB-MCP-001 · inferred_run… 3 calls …read_build_signatureREQ-DDB-PIPE-005 · inferred_runquery_main_payloadoneREQ-DDB-QUERY-001 · inferred_run… 5 calls …directory_rollupREQ-DDB-QUERY-002 · inferred_run… 4 calls …table_existsREQ-DDB-QUERY-003 · inferred_run… 7 calls …_in_default_buildREQ-DDB-QUERY-004 · inferred_run… 7 calls …_make_nodeREQ-DDB-QUERY-005 · inferred_run… 4 calls …kconfig_spaceREQ-DDB-QUERY-006 · inferred_run… 5 calls …prose_emptinessREQ-DDB-QUERY-007 · inferred_runquery_main_payloadgraph_statsREQ-DDB-QUERY-008 · inferred_run… 5 calls …identity_rowidsREQ-DDB-QUERY-010 · inferred

and 6 more requirement paths, listed below.

Also reaches 18 requirements

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