REQ-DDB-WIKI-026: A test’s section says what it tests; Gherkin scenarios are displayed as Gherkin

← Requirements

What it requires

  1. Every test function the evidence names (found in test code) has a section on its file's symbol page that adds its checks — assertion statements read per framework (Python assert, Catch2 / doctest REQUIRE and CHECK forms, GoogleTest EXPECT_ / ASSERT_, Unity TEST_ASSERT), each read whole across lines and withheld under exclude_bodies — its result, the requirements it verifies with the link kind, the shortest resolved call path from the test to an implementer of each (at most five calls), and mutation outcomes naming it.
  2. Each Gherkin scenario has a section on its feature file's page rendered as Gherkin: Feature and Rule headings with their tags, the Scenario heading, keyword-highlighted steps, tags as chips, Examples tables as tables and doc strings as blocks, with its result and the requirements it verifies.
  3. A requirement's tests, in its modal and in the table, link to these sections.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site11

See it on the map

How it is met

implemented byresults (74 tests)_test_definitionsassertionsfeature_pagesgatherrender_scenariotest_cardtest_functionstest_linktest_page_oftest_pagesverifies_block74 passed74 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (74)

Linked directly

60 tests: 60 passed

60 passed
testresultlinked byimplementers exercisedcalls away
test_an_audience_can_redact_ownerspassedmeasured5 of 11—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured5 of 11—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured5 of 11—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured5 of 11—
test_the_hub_runs_a_test_only_when_running_is_switched_onpassedmeasured1 of 11: assertions—
test_a_directly_linked_test_has_no_flow_of_its_ownpassedcatalogunknown—
test_a_gherkin_scenario_is_displayed_as_gherkinpassedcatalogunknown—
test_a_permalink_needs_the_commit_on_a_remotepassedcatalogunknown—
test_a_referenced_symbol_has_a_section_on_its_files_pagepassedcatalogunknown—
test_a_requirements_tests_link_to_their_sectionspassedcatalogunknown—
test_a_stale_extent_bundles_no_wrong_bodypassedcatalogunknown—
test_a_test_section_says_what_it_verifies_and_howpassedcatalogunknown—
test_implementers_and_flow_steps_link_to_symbol_sectionspassedcatalogunknown—
test_symbol_page_names_are_stablepassedcatalogunknown—
test_a_macro_test_gets_its_own_page_under_its_framework_namepassedmeasured1 of 11: _test_definitions1
test_assertions_are_read_per_frameworkpassedmeasured1 of 11: assertions1
test_every_recognised_test_is_found_not_only_the_linkedpassedmeasured1 of 11: _test_definitions1
test_gherkin_renders_rules_examples_and_doc_stringspassedmeasured1 of 11: render_scenario1
test_the_test_card_keeps_three_columns_and_code_in_monopassedmeasured1 of 11: test_card1
test_a_call_inside_the_assertion_is_the_when_and_no_empty_given_is_drawnpassedmeasured1 of 11: test_card2
test_a_requirement_s_tests_show_what_did_not_pass_and_fold_what_didpassedmeasured1 of 11: test_link2
test_a_test_in_another_language_still_says_whypassedmeasured1 of 11: test_card2
test_given_when_then_come_from_the_syntaxpassedmeasured1 of 11: test_card2
test_setup_noise_is_kept_out_of_the_cardpassedmeasured1 of 11: test_card2
test_the_checks_are_never_foldedpassedmeasured1 of 11: test_card2
test_why_is_the_docstring_and_the_declared_requirementspassedmeasured1 of 11: test_card2
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured11 of 113
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured11 of 113
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured11 of 113
test_exports_obey_the_audiencepassedmeasured11 of 113
test_needs_json_contributes_requirementspassedmeasured11 of 113
test_versions_burn_down_toward_roadmap_milestonespassedmeasured11 of 113
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured10 of 113
test_a_model_no_code_realises_gets_no_pagepassedmeasured10 of 113
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured10 of 113
test_a_partner_site_carries_no_call_textpassedmeasured10 of 113
test_a_partner_site_lists_no_assertionspassedmeasured10 of 113
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured10 of 113
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured10 of 113
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured10 of 113
test_versioned_builds_and_a_diff_between_thempassedmeasured10 of 113
test_a_build_writes_the_summary_beside_the_sitepassedmeasured5 of 113
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured5 of 113
test_build_writes_a_self_contained_sitepassedmeasured5 of 113
test_a_failing_assertion_is_the_failure_pointpassedmeasured1 of 11: assertions3
test_a_real_run_gives_a_pinned_check_its_valuepassedmeasured1 of 11: assertions3
test_a_run_is_recorded_as_spans_between_repository_functionspassedmeasured1 of 11: assertions3
test_a_span_records_the_line_it_was_called_frompassedmeasured1 of 11: assertions3
test_passing_assertions_are_checkpointspassedmeasured1 of 11: assertions3
test_the_overlay_confirms_misses_and_discoverspassedmeasured1 of 11: assertions3
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured11 of 114
test_an_empty_report_is_a_measured_zeropassedmeasured11 of 114
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured11 of 114
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured11 of 114
test_the_impact_page_links_the_map_change_lenspassedmeasured11 of 114
test_without_a_report_the_change_is_not_measuredpassedmeasured11 of 114
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured10 of 114
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured10 of 114
test_the_cli_creates_the_output_directorypassedmeasured1 of 11: assertions5
test_the_cli_writes_otlp_json_and_the_overlaypassedmeasured1 of 11: assertions5
Reached through calls

14 tests: 14 passed

14 passed
testresultlinked byimplementers exercisedcalls away
test_a_long_test_list_says_how_many_are_directpassedinferred1 of 11: test_link2
test_only_a_traced_test_gets_a_flow_of_its_ownpassedinferred1 of 11: test_functions2
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred10 of 114
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred10 of 114
test_check_refresh_brings_the_index_current_firstpassedinferred10 of 115
test_the_cli_check_exits_nonzero_on_a_problempassedinferred10 of 115
test_the_cli_prints_the_flow_as_jsonpassedinferred10 of 115
test_the_cli_prints_the_tracepassedinferred10 of 115
test_the_cli_takes_an_out_of_tree_configpassedinferred10 of 115
test_the_cli_writes_markdown_without_sphinxpassedinferred10 of 115
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred10 of 115
test_the_flow_verb_prints_svgpassedinferred10 of 115
test_the_trace_cli_reads_imports_from_the_configpassedinferred10 of 115
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred10 of 115

Flows through it