test_the_cli_prints_the_flow_as_json

Tests › tests/test_wiki_flow.py

passed Passed in the packaged run.

What this test is for

Why it exists

`clew wiki flow ENTRY --index DB --repo-root DIR` prints flow JSON with a version.

Verifies REQ-DDB-WIKI-008 REQ-DDB-WIKI-047

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.

Look up one name: everything the index holds about it · 14 of 226 steps

… 45 earlier steps

callercallercallercallerclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyother filesother filesother filesother filesdossier46. _ambiguity_counts → table_exists46table_exists47. _ambiguity_counts → function_candidates47function_candidates48–51. function_candidates → table_exists48table_exists +3 more52–53. matching_identity → qualified_name_of52qualified_name_of +1 more

… 81 steps between

callercallercallercallerclew/query/subject.pyclew/query/subject.pyclew/query/subject.pyclew/query/subject.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyopt (line 1012)optopt (line 777)optopt (line 1014)optdossier135. dossier → connect135connect136. dossier → identity_rowids136identity_rowids137. identity_rowids → function_candidates137function_candidates▶ test enters138–141. identity_rowids → qualified_name_of138qualified_name_of +3 more142. dossier → _selector_from_signature142_selector_from_signature143. _selector_from_signature → qualified_name_of143qualified_name_of

… 33 steps between

callercallercallercallerclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/traversal.pyclew/query/traversal.pyclew/query/traversal.pyclew/query/traversal.pyother filesother filesother filesother filesloop (line 429)looploop (line 362)looploop (line 368)loopdossier177. _reqs_for → table_exists177table_exists178. _identity_walk → _identity_call_hops178_identity_call_hops179. _identity_call_hops → table_exists179table_exists▶ test enters180. _identity_call_hops → qualified_name_of180qualified_name_of181. _identity_call_hops → qualified_name_of181qualified_name_of182. _identity_call_hops → _collapse_variants182_collapse_variants183. _collapse_variants → _variant_rank183_variant_rank184. _identity_walk → identity_rowids184identity_rowids185. _identity_walk → _cap_at_depth185_cap_at_depth

… 41 later steps

2 more

tests/test_wiki_flow.py:113 · its file's page

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_the_cli_prints_the_flow_as_json→wiki_main

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_the_cli_prints_the_flow_as_jsonwiki_main… 3 calls …report_statsREQ-DDB-CLI-001 · inferredwiki_main… 8 calls …doxygen_supports_sqlite3REQ-DDB-CLI-002 · inferredwiki_main… 4 calls …stated_document_metaREQ-DDB-CONFIG-001 · inferredwiki_main… 5 calls …_is_flat_req_listREQ-DDB-CONFIG-003 · inferredwiki_main… 4 calls …resolve_preprocessorREQ-DDB-CONFIG-004 · inferredwiki_main… 4 calls …import_kconfigREQ-DDB-CONFIG-005 · inferredwiki_main… 4 calls …recorded_explicitREQ-DDB-CONFIG-006 · inferredwiki_main… 4 calls …write_build_signatureREQ-DDB-CONFIG-007 · inferredwiki_main… 4 calls …load_toolchain_configREQ-DDB-CONFIG-009 · inferredwiki_main… 3 calls …read_requirements_sectionREQ-DDB-GUARD-012 · inferredwiki_main… 6 calls …parse_doxygen_tagsREQ-DDB-GUARD-019 · inferredwiki_main… 6 calls …apply_autobriefREQ-DDB-GUARD-024 · inferred

and 90 more requirement paths, listed below.

Requirements it verifies (2)

requirementlinked byimplementers exercised
REQ-DDB-WIKI-008catalogunknown
REQ-DDB-WIKI-047catalog1 of 1: _actor_of
Also reaches 102 requirements

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