clew
  • Requirements
  • Flows
  • Tests
  • Change impact
  • Map
  • Architecture
  • Docs
  • SBOM

REQ-DDB-WIKI-016: Tests link to requirements without tags, and say how¶

← Requirements

What it requires

  1. Besides @req tags, a mapping file and Gherkin tags, a test links to a requirement when per- test coverage (coverage.py contexts) ran a line of an implementer (measured), when the catalog's evidence field names its file (catalog), or when its calls reach an implementer within infer_depth hops over non-binding, non-fuzzy edges (inferred).
  2. A test keeps its strongest kind; rows carry measured_tests, declared_tests and inferred_tests, the page marks each, and the trace counts requirements linked only by each weaker kind.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site3

See it on the map

How it is met

implemented byresults (68 tests)_contexts_from_lcov_reaching_testsparse_contexts68 passed68 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

  • _contexts_from_lcov clew/wiki/imports.py:247
  • _reaching_tests clew/wiki/evidence.py:756
  • parse_contexts clew/wiki/imports.py:191

Tests (68)

Linked directly

54 tests: 54 passed

54 passed
testresultlinked byimplementers exercisedcalls away
test_a_measured_link_carries_its_extentpassedmeasured2 of 3: _reaching_tests, parse_contexts—
test_contexts_are_read_from_coverage_s_own_data_filepassedmeasured2 of 3: _reaching_tests, parse_contexts—
test_per_test_coverage_contexts_link_tests_by_measurementpassedmeasured2 of 3: _reaching_tests, parse_contexts—
test_a_catch2_scenario_reaching_an_implementer_is_linked_by_its_namepassedmeasured1 of 3: _reaching_tests—
test_a_declared_report_that_is_not_there_is_unmeasured_not_a_crashpassedmeasured1 of 3: _reaching_tests—
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_pagepassedmeasured1 of 3: _reaching_tests—
test_ado_flavour_blocks_order_and_linkspassedmeasured1 of 3: _reaching_tests—
test_by_default_inference_is_the_full_transitive_closurepassedmeasured1 of 3: _reaching_tests—
test_each_requirement_gets_its_tierpassedmeasured1 of 3: _reaching_tests—
test_github_flavour_pages_and_diagramspassedmeasured1 of 3: _reaching_tests—
test_imports_join_the_tracepassedmeasured1 of 3: _reaching_tests—
test_mutation_records_attach_to_the_requirement_their_mechanism_implementspassedmeasured1 of 3: _reaching_tests—
test_tests_named_by_the_catalog_evidence_field_are_linkedpassedmeasured1 of 3: _reaching_tests—
test_tests_that_reach_an_implementer_are_inferred_within_the_depthpassedmeasured1 of 3: _reaching_tests—
test_the_markdown_obeys_the_audiencepassedmeasured1 of 3: _reaching_tests—
test_without_coverage_nothing_claims_to_be_uncoveredpassedmeasured1 of 3: _reaching_tests—
test_without_layers_the_field_is_absentpassedmeasured1 of 3: _reaching_tests—
test_a_mapping_file_reads_yaml_and_csvpassedcatalogunknown—
test_an_unknown_result_format_is_refusedpassedcatalogunknown—
test_before_tests_a_report_a_run_produces_is_not_yet_requiredpassedcatalogunknown—
test_check_names_every_missing_importpassedcatalogunknown—
test_each_declared_result_format_folds_to_statusespassedcatalogunknown—
test_gcov_json_gz_relativises_absolute_pathspassedcatalogunknown—
test_gcov_text_reads_hits_and_skips_non_executable_linespassedcatalogunknown—
test_gherkin_scenarios_carry_their_own_and_inherited_tagspassedcatalogunknown—
test_an_lcov_tracefile_s_test_sections_are_per_test_contextspassedmeasured2 of 3: _contexts_from_lcov, parse_contexts1
test_a_context_with_brackets_in_its_parameters_names_its_testpassedmeasured1 of 3: parse_contexts1
test_only_a_tests_own_run_links_it_not_its_fixtures_setuppassedmeasured1 of 3: parse_contexts1
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured1 of 3: _reaching_tests4
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured1 of 3: _reaching_tests4
test_a_model_no_code_realises_gets_no_pagepassedmeasured1 of 3: _reaching_tests4
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured1 of 3: _reaching_tests4
test_a_partner_site_carries_no_call_textpassedmeasured1 of 3: _reaching_tests4
test_a_partner_site_lists_no_assertionspassedmeasured1 of 3: _reaching_tests4
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured1 of 3: _reaching_tests4
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured1 of 3: _reaching_tests4
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured1 of 3: _reaching_tests4
test_exports_obey_the_audiencepassedmeasured1 of 3: _reaching_tests4
test_needs_json_contributes_requirementspassedmeasured1 of 3: _reaching_tests4
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured1 of 3: _reaching_tests4
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured1 of 3: _reaching_tests4
test_versioned_builds_and_a_diff_between_thempassedmeasured1 of 3: _reaching_tests4
test_versions_burn_down_toward_roadmap_milestonespassedmeasured1 of 3: _reaching_tests4
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured1 of 3: _reaching_tests5
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured1 of 3: _reaching_tests5
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured1 of 3: _reaching_tests5
test_an_empty_report_is_a_measured_zeropassedmeasured1 of 3: _reaching_tests5
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured1 of 3: _reaching_tests5
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured1 of 3: _reaching_tests5
test_the_impact_page_links_the_map_change_lenspassedmeasured1 of 3: _reaching_tests5
test_without_a_report_the_change_is_not_measuredpassedmeasured1 of 3: _reaching_tests5
test_the_cli_prints_the_tracepassedmeasured1 of 3: _reaching_tests6
test_the_cli_writes_markdown_without_sphinxpassedmeasured1 of 3: _reaching_tests6
test_the_trace_cli_reads_imports_from_the_configpassedmeasured1 of 3: _reaching_tests6
Reached through calls

14 tests: 14 passed

14 passed
testresultlinked byimplementers exercisedcalls away
test_a_build_writes_the_summary_beside_the_sitepassedinferred2 of 3: _contexts_from_lcov, parse_contexts4
test_an_audience_that_excludes_bodies_gets_nonepassedinferred2 of 3: _contexts_from_lcov, parse_contexts4
test_build_writes_a_self_contained_sitepassedinferred2 of 3: _contexts_from_lcov, parse_contexts4
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred2 of 3: _contexts_from_lcov, parse_contexts5
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred2 of 3: _contexts_from_lcov, parse_contexts5
test_check_refresh_brings_the_index_current_firstpassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_the_cli_check_exits_nonzero_on_a_problempassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_the_cli_creates_the_output_directorypassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_the_cli_prints_the_flow_as_jsonpassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_the_cli_takes_an_out_of_tree_configpassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_the_flow_verb_prints_svgpassedinferred2 of 3: _contexts_from_lcov, parse_contexts6
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred2 of 3: _contexts_from_lcov, parse_contexts6

Flows through it

  • Build this wiki from the index

Raise an issue on GitHub

clew Generated by clew wiki from the repository's index