passed Passed in the packaged run.
What this test is for Why it exists
GitHub: Home, Requirements, a page per flow with ```mermaid, `_Sidebar.md`.
Given
pages = _build(repo, tmp_path / "gh", "github")flow = pages["Flow-load.md"]req = pages["Requirements.md"]→ → Then
✓ {"Home.md", "Requirements.md", "Flows.md", "_Sidebar.md"} is at most set(pages)✓ any(name.endswith(".html") for name in pages) is false✓ flow contains "```mermaid\nsequenceDiagram"✓ flow contains ": parse"✓ pages["_Sidebar.md"] contains "[Requirements](Requirements)"✓ req contains "| REQ-W-001 |"✓ req contains "Load the data"✓ req contains "PASS"✓ pages["Home.md"].lower() contains "map"✓ pages["Home.md"] contains "HTML"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.
callercaller callercaller clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.pyclew/wiki/build.py clew/wiki/config.pyclew/wiki/config.py clew/wiki/config.pyclew/wiki/config.py other filesother files other filesother files try (line 708) try build_wiki 1. build_wiki → load_wiki_config 1 load_wiki_config 2. load_wiki_config → _read_section 2 _read_section ▶ test enters 3–6. load_wiki_config → _overlaid 3 _overlaid +3 more 7. _requirements_section → read_requirements_section 7 read_requirements_section 8–9. read_requirements_section → _validate_node 8 _validate_node +1 more … 6 steps between
callercaller callercaller caller clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.py clew/wiki/config.pyclew/wiki/config.py clew/wiki/config.pyclew/wiki/config.py clew/wiki/config.py other filesother files other filesother files other files loop (line 417) loop alt (line 421) alt loop (line 135) loop try (line 752) try loop (line 1312) loop opt (line 1314) opt build_wiki 16. list → link 16 link 17. _validate_dict_node → _validate_node 17 _validate_node 18. load_wiki_config → _top_level 18 _top_level ▶ test enters 19–21. load_wiki_config → _unknown 19 _unknown +2 more 22. _strings → all 22 all 23–25. all → _events 23 _events +2 more 26–37. load_wiki_config → _strings 26 _strings +11 more 38. _declared_report → read_guard_section 38 read_guard_section 39–41. load_wiki_config → _issues 39 _issues +2 more 42. _sbom → all 42 all 43–47. load_wiki_config → _one_of 43 _one_of +4 more 48. _comments → all 48 all 49–55. load_wiki_config → _doc_tags 49 _doc_tags +6 more 56. build_wiki → report_limit 56 report_limit 57. build_wiki → _build_site 57 _build_site … 2 steps between
callercaller callercaller clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.pyclew/wiki/build.py other filesother files other filesother files try (line 1123) try try (line 1155) try build_wiki 60. _build_site → valid_key 60 valid_key 61. _build_site → _commit 61 _commit 62. _commit → git_argv 62 git_argv ▶ test enters 63–64. git_argv → _no_ext_diff 63 _no_ext_diff +1 more 65. _build_site → commit_published 65 commit_published 66. commit_published → git_argv 66 git_argv … 23 steps between
callercaller callercaller clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.pyclew/wiki/build.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/wiki/symbols.pyclew/wiki/symbols.py clew/wiki/symbols.pyclew/wiki/symbols.py other filesother files other filesother files opt (line 611) opt loop (line 43) loop try (line 146) try opt (line 529) opt opt (line 533) opt loop (line 569) loop opt (line 571) opt build_wiki 90. test_functions → table_exists 90 table_exists 91. _build_site → _all_flows 91 _all_flows 92. _all_flows → list 92 list ▶ test enters 93. _all_flows → entry_point_flows 93 entry_point_flows 94. entry_point_flows → connect 94 connect 95–104. entry_point_flows → _scripts 95 _scripts +9 more 105. _declared_entry_patterns → table_exists 105 table_exists 106–111. _declared_entry_patterns → load_declaration 106 load_declaration +5 more 112–115. _checked_section → _checked_list_section 112 _checked_list_section +3 more 116. _checked_section → _checked_tests 116 _checked_tests 117. _checked_tests → _checked_list_section 117 _checked_list_section 118. _checked_tests → 118 … 1 call not run … 1 step between
callercaller callercaller caller clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.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 43) loop opt (line 200) opt loop (line 259) loop elif (line 264) elif opt (line 202) opt build_wiki 120–121. check_manifest_document → _checked_document 120 _checked_document +1 more 122. _checked_section → _check_section_keys 122 _check_section_keys 123. _mains → _not_test 123 _not_test 124. _not_test → table_exists 124 table_exists 125. entry_point_flows → _thread_entries 125 _thread_entries 126. _thread_entries → table_exists 126 table_exists 127. _thread_entries → _not_test 127 _not_test 128. entry_point_flows → _calls_something 128 _calls_something 129. _calls_something → table_exists 129 table_exists 130. _build_site → _coverage 130 _coverage 131. _coverage → parse_contexts 131 parse_contexts 132–133. parse_contexts → _contexts_from_lcov 132 _contexts_from_lcov +1 more 134. _text → check_report_size 134 check_report_size 135. _contexts_from_lcov → _relative 135 _relative 136. parse_contexts → _contexts_from_data_file 136 _contexts_from_data_file … 29 steps between
callercaller callercaller caller clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/query/_common.py clew/wiki/flowpage.pyclew/wiki/flowpage.py clew/wiki/flowpage.pyclew/wiki/flowpage.py clew/wiki/flowpage.py other filesother files other filesother files other files opt (line 201) opt opt (line 777) opt opt (line 203) opt build_wiki 166. flow_page → _executed 166 _executed 167. flow_page → derive_flow 167 derive_flow 168. derive_flow → connect 168 connect ▶ test enters 169. derive_flow → _entry_rowids 169 _entry_rowids 170. _entry_rowids → identity_rowids 170 identity_rowids 171–175. identity_rowids → function_candidates 171 function_candidates +4 more 176–179. matching_identity → qualified_name_of 176 qualified_name_of +3 more 180–183. identity_rowids → qualified_name_of 180 qualified_name_of +3 more 184. _entry_rowids → function_candidates 184 function_candidates 185. _entry_rowids → qualified_name_of 185 qualified_name_of 186. _entry_rowids → identity_rowids 186 identity_rowids 187. derive_flow → qualified_name_of 187 qualified_name_of 188. flow_page → slices_of 188 slices_of 189. slices_of → _slice 189 _slice … 119 steps between
callercaller callercaller clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.pyclew/wiki/build.py clew/wiki/symbols.pyclew/wiki/symbols.py clew/wiki/symbols.pyclew/wiki/symbols.py other filesother files other filesother files loop (line 311) loop loop (line 332) loop opt (line 335) opt loop (line 296) loop loop (line 302) loop build_wiki 309. symbol_pages → symbol_href 309 symbol_href 310. _build_site → parse_features 310 parse_features 311. parse_features → _scenarios 311 _scenarios ▶ test enters 312. _scenarios → _tag 312 _tag 313. parse_features → _text 313 _text 314. _build_site → feature_pages 314 feature_pages 315. feature_pages → anchor 315 anchor … 29 steps between
callercaller callercaller clew/wiki/build.pyclew/wiki/build.py clew/wiki/build.pyclew/wiki/build.py other filesother files other filesother files build_wiki 345. slice_svg → _hidden 345 _hidden 346. _build_site → parse_junit 346 parse_junit 347. parse_junit → fold_cases 347 fold_cases ▶ test enters 348. fold_cases → _folded 348 _folded 349–353. parse_junit → _case_name 349 _case_name +4 more 354. _build_site → _lines_by_test 354 _lines_by_test 355. _lines_by_test → lines_per_test 355 lines_per_test … 45 later steps
5 more tests/test_wiki_markdown.py:35 · its file's page
What it checks (6) assert {"Home.md", "Requirements.md", "Flows.md", "_Sidebar.md"} <= set(pages) observes _build via pages assert not any(name.endswith(".html") for name in pages) observes _build via pages assert "```mermaid\nsequenceDiagram" in flow and ": parse" in flow not attributed assert "[Requirements](Requirements)" in pages["_Sidebar.md"] observes _build via pages assert "| REQ-W-001 |" in req and "Load the data" in req and "PASS" in req not attributed assert "map" in pages["Home.md"].lower() and "HTML" in pages["Home.md"] observes _build via pages 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_github_flavour_pages_and_diagrams→ _build
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.
and 11 more requirement paths, listed below.
Also reaches 29 requirements Its run touches their code; that is reach, not proof.