REQ-DDB-WIKI-041: A test is drawn as the slice of a master flow it exercises

← Requirements

What it requires

  1. A test has no sequence diagram of its own.
  2. From per-test coverage (coverage.py contexts, or an LCOV tracefile with one TN: section per test, produced by the repository), a master-flow step is exercised by a test when its call-site line ran in that test; the test enters the flow at a function whose calls it ran while no exercised step called it.
  3. The test's page draws each master flow it touches with its exercised steps, its entry and the rest dimmed; without per-test coverage the slice is static reach, labelled inferred.
tier
PASS
declared
planned
priority
P1

Where it lives

  • Wiki: this site9

See it on the map

How it is met

implemented byresults (82 tests)_exercises_slices_by_testderive_flowflow_pagelines_per_testslice_ofslice_svgslices_oftest_name82 passed82 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (82)

Linked directly

68 tests: 68 passed

68 passed
testresultlinked byimplementers exercisedcalls away
test_an_audience_can_redact_ownerspassedmeasured3 of 9: _slices_by_test, derive_flow, flow_page—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured3 of 9: _slices_by_test, derive_flow, flow_page—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured3 of 9: _slices_by_test, derive_flow, flow_page—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured3 of 9: _slices_by_test, derive_flow, flow_page—
test_a_measured_link_carries_its_extentpassedmeasured1 of 9: test_name—
test_contexts_are_read_from_coverage_s_own_data_filepassedmeasured1 of 9: test_name—
test_per_test_coverage_contexts_link_tests_by_measurementpassedmeasured1 of 9: test_name—
test_the_hub_runs_a_test_only_when_running_is_switched_onpassedmeasured1 of 9: derive_flow—
test_a_slice_is_drawn_as_a_window_of_the_master_flowpassedmeasured3 of 9: lines_per_test, slice_of, slice_svg1
test_every_test_s_slice_of_a_flow_comes_from_one_pass_over_its_stepspassedmeasured3 of 9: lines_per_test, slice_of, slices_of1
test_two_namesakes_keep_their_own_slices_on_the_pagepassedmeasured3 of 9: _exercises, slice_svg, test_name1
test_a_step_is_exercised_when_its_call_site_ran_in_the_testpassedmeasured2 of 9: lines_per_test, slice_of1
test_a_test_page_draws_its_top_slices_and_lists_the_restpassedmeasured2 of 9: _exercises, test_name1
test_a_test_s_slices_are_playablepassedmeasured2 of 9: _exercises, test_name1
test_a_test_that_calls_into_the_middle_enters_therepassedmeasured2 of 9: lines_per_test, slice_of1
test_a_flow_entry_by_file_survives_distinct_identitiespassedmeasured1 of 9: derive_flow1
test_a_flow_entry_is_selected_by_filepassedmeasured1 of 9: derive_flow1
test_a_flow_follows_the_calls_in_order_with_framespassedmeasured1 of 9: derive_flow1
test_a_flow_names_its_actorpassedmeasured1 of 9: derive_flow1
test_a_measured_depth_bounds_measured_expansionpassedmeasured1 of 9: derive_flow1
test_a_measured_flow_expands_what_ran_and_folds_what_did_notpassedmeasured1 of 9: derive_flow1
test_a_not_run_stub_is_drawn_as_a_dim_note_not_a_callpassedmeasured1 of 9: derive_flow1
test_a_per_test_key_carries_the_filepassedmeasured1 of 9: test_name1
test_a_slice_with_a_gap_is_two_windows_with_the_gap_countedpassedmeasured1 of 9: slice_svg1
test_a_step_cap_stops_the_walk_and_says_sopassedmeasured1 of 9: derive_flow1
test_a_step_links_to_its_call_site_not_the_callee_filepassedmeasured1 of 9: derive_flow1
test_a_test_that_ran_none_of_the_flow_has_an_empty_slicepassedmeasured1 of 9: slice_of1
test_adjacent_exercised_steps_stay_one_windowpassedmeasured1 of 9: slice_svg1
test_an_entry_no_test_ran_is_walked_staticallypassedmeasured1 of 9: derive_flow1
test_an_unknown_entry_is_refused_by_namepassedmeasured1 of 9: derive_flow1
test_an_unmeasured_file_is_walked_statically_never_folded_as_not_runpassedmeasured1 of 9: derive_flow1
test_block_lanes_are_the_maps_blockspassedmeasured1 of 9: derive_flow1
test_depth_bounds_the_walk_and_stop_at_ends_a_branchpassedmeasured1 of 9: derive_flow1
test_lines_are_grouped_per_testpassedmeasured1 of 9: lines_per_test1
test_package_lanes_are_the_maps_componentspassedmeasured1 of 9: derive_flow1
test_the_actor_lane_is_drawn_first_with_an_arrow_into_the_entrypassedmeasured1 of 9: derive_flow1
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_a_partner_site_carries_no_call_textpassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_a_partner_site_lists_no_assertionspassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_exports_obey_the_audiencepassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_needs_json_contributes_requirementspassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_versions_burn_down_toward_roadmap_milestonespassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page3
test_a_build_writes_the_summary_beside_the_sitepassedmeasured3 of 9: _slices_by_test, derive_flow, flow_page3
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured3 of 9: _slices_by_test, derive_flow, flow_page3
test_build_writes_a_self_contained_sitepassedmeasured3 of 9: _slices_by_test, derive_flow, flow_page3
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured2 of 9: _exercises, _slices_by_test3
test_a_model_no_code_realises_gets_no_pagepassedmeasured2 of 9: _exercises, _slices_by_test3
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured2 of 9: _exercises, _slices_by_test3
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured2 of 9: _exercises, _slices_by_test3
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured2 of 9: _exercises, _slices_by_test3
test_versioned_builds_and_a_diff_between_thempassedmeasured2 of 9: _exercises, _slices_by_test3
test_a_markdown_build_writes_the_summary_where_askedpassedmeasured1 of 9: derive_flow3
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page4
test_an_empty_report_is_a_measured_zeropassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page4
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page4
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page4
test_the_impact_page_links_the_map_change_lenspassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page4
test_without_a_report_the_change_is_not_measuredpassedmeasured4 of 9: _exercises, _slices_by_test, derive_flow, flow_page4
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured2 of 9: _exercises, _slices_by_test4
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured2 of 9: _exercises, _slices_by_test4
test_ado_flavour_blocks_order_and_linkspassedmeasured1 of 9: derive_flow4
test_github_flavour_pages_and_diagramspassedmeasured1 of 9: derive_flow4
test_the_cli_prints_the_flow_as_jsonpassedmeasured1 of 9: derive_flow4
test_the_cli_writes_markdown_without_sphinxpassedmeasured1 of 9: derive_flow4
test_the_markdown_obeys_the_audiencepassedmeasured1 of 9: derive_flow4
Reached through calls

14 tests: 14 passed

14 passed
testresultlinked byimplementers exercisedcalls away
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_pagepassedinferred1 of 9: derive_flow3
test_an_unknown_flavour_is_refusedpassedinferred1 of 9: derive_flow3
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred8 of 94
test_check_refresh_brings_the_index_current_firstpassedinferred8 of 94
test_the_cli_check_exits_nonzero_on_a_problempassedinferred8 of 94
test_the_cli_creates_the_output_directorypassedinferred8 of 94
test_the_cli_prints_the_tracepassedinferred8 of 94
test_the_cli_takes_an_out_of_tree_configpassedinferred8 of 94
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred8 of 94
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred8 of 94
test_the_flow_verb_prints_svgpassedinferred8 of 94
test_the_trace_cli_reads_imports_from_the_configpassedinferred8 of 94
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred8 of 94
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred8 of 94

Flows through it