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

REQ-DDB-WIKI-010: Test results, links and layers are imported from declared sources¶

← Requirements

What it requires

  1. wiki.tests.results declares CTest, TAP, Catch2 or pytest-json reports by format (an unknown format is a problem, never sniffed); each folds like JUnit, worst case winning.
  2. A mapping file (YAML or CSV) and Gherkin .feature scenario tags (@ID, @req:ID, feature and rule tags inherited) link requirements to tests the index cannot see.
  3. layers counts each requirement's tests per layer by glob; layers is absent (None) when none are configured.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site5

See it on the map

How it is met

implemented byresults (90 tests)fold_casesparse_featuresparse_mappingparse_resultstest_id90 passed90 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

  • fold_cases clew/wiki/imports.py:83
  • parse_features clew/wiki/imports.py:306
  • parse_mapping clew/wiki/imports.py:162
  • parse_results clew/wiki/imports.py:122
  • test_id clew/wiki/imports.py:71

Tests (90)

Linked directly

71 tests: 71 passed

71 passed
testresultlinked byimplementers exercisedcalls away
test_imports_join_the_tracepassedmeasured5 of 5—
test_a_catch2_scenario_reaching_an_implementer_is_linked_by_its_namepassedmeasured3 of 5: fold_cases, parse_features, parse_results—
test_tests_named_by_the_catalog_evidence_field_are_linkedpassedmeasured3 of 5: fold_cases, parse_features, parse_results—
test_a_declared_report_that_is_not_there_is_unmeasured_not_a_crashpassedmeasured2 of 5: fold_cases, parse_features—
test_a_measured_link_carries_its_extentpassedmeasured2 of 5: fold_cases, parse_features—
test_an_audience_can_redact_ownerspassedmeasured2 of 5: fold_cases, parse_features—
test_by_default_inference_is_the_full_transitive_closurepassedmeasured2 of 5: fold_cases, parse_features—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured2 of 5: fold_cases, parse_features—
test_contexts_are_read_from_coverage_s_own_data_filepassedmeasured2 of 5: fold_cases, parse_features—
test_each_requirement_gets_its_tierpassedmeasured2 of 5: fold_cases, parse_features—
test_mutation_records_attach_to_the_requirement_their_mechanism_implementspassedmeasured2 of 5: fold_cases, parse_features—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured2 of 5: fold_cases, parse_features—
test_per_test_coverage_contexts_link_tests_by_measurementpassedmeasured2 of 5: fold_cases, parse_features—
test_tests_that_reach_an_implementer_are_inferred_within_the_depthpassedmeasured2 of 5: fold_cases, parse_features—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured2 of 5: fold_cases, parse_features—
test_without_coverage_nothing_claims_to_be_uncoveredpassedmeasured2 of 5: fold_cases, parse_features—
test_without_layers_the_field_is_absentpassedmeasured2 of 5: fold_cases, parse_features—
test_a_context_with_brackets_in_its_parameters_names_its_testpassedcatalogunknown—
test_an_lcov_tracefile_s_test_sections_are_per_test_contextspassedcatalogunknown—
test_gcov_json_gz_relativises_absolute_pathspassedcatalogunknown—
test_gcov_text_reads_hits_and_skips_non_executable_linespassedcatalogunknown—
test_only_a_tests_own_run_links_it_not_its_fixtures_setuppassedcatalogunknown—
test_ceedling_and_unity_results_are_readpassedmeasured2 of 5: fold_cases, parse_results1
test_ctrf_results_fold_like_every_other_formatpassedmeasured2 of 5: fold_cases, parse_results1
test_each_declared_result_format_folds_to_statusespassedmeasured2 of 5: fold_cases, parse_results1
test_a_mapping_file_reads_yaml_and_csvpassedmeasured1 of 5: parse_mapping1
test_an_unknown_result_format_is_refusedpassedmeasured1 of 5: parse_results1
test_gherkin_scenarios_carry_their_own_and_inherited_tagspassedmeasured1 of 5: parse_features1
test_a_failure_s_location_is_read_from_its_tracebackpassedmeasured1 of 5: fold_cases2
test_a_googletest_notrun_case_is_a_skippassedmeasured1 of 5: fold_cases2
test_an_unreadable_report_is_refused_naming_file_and_linepassedmeasured1 of 5: fold_cases2
test_catch2_section_cases_fold_into_their_test_casepassedmeasured1 of 5: fold_cases2
test_junit_variants_name_the_function_and_classify_honestlypassedmeasured1 of 5: fold_cases2
test_parametrized_cases_fold_and_statuses_are_distinctpassedmeasured1 of 5: fold_cases2
test_terminal_colour_codes_in_a_report_are_stripped_and_saidpassedmeasured1 of 5: fold_cases2
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_a_partner_site_carries_no_call_textpassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_a_partner_site_lists_no_assertionspassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_exports_obey_the_audiencepassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_needs_json_contributes_requirementspassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_versions_burn_down_toward_roadmap_milestonespassedmeasured3 of 5: fold_cases, parse_features, test_id3
test_a_build_writes_the_summary_beside_the_sitepassedmeasured2 of 5: fold_cases, parse_features3
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured2 of 5: fold_cases, parse_features3
test_a_model_no_code_realises_gets_no_pagepassedmeasured2 of 5: fold_cases, parse_features3
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured2 of 5: fold_cases, parse_features3
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured2 of 5: fold_cases, parse_features3
test_build_writes_a_self_contained_sitepassedmeasured2 of 5: fold_cases, parse_features3
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured2 of 5: fold_cases, parse_features3
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured2 of 5: fold_cases, parse_features3
test_versioned_builds_and_a_diff_between_thempassedmeasured2 of 5: fold_cases, parse_features3
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured3 of 5: fold_cases, parse_features, test_id4
test_an_empty_report_is_a_measured_zeropassedmeasured3 of 5: fold_cases, parse_features, test_id4
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured3 of 5: fold_cases, parse_features, test_id4
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured3 of 5: fold_cases, parse_features, test_id4
test_the_impact_page_links_the_map_change_lenspassedmeasured3 of 5: fold_cases, parse_features, test_id4
test_without_a_report_the_change_is_not_measuredpassedmeasured3 of 5: fold_cases, parse_features, test_id4
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured2 of 5: fold_cases, parse_features4
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured2 of 5: fold_cases, parse_features4
test_before_tests_a_report_a_run_produces_is_not_yet_requiredpassedcatalog1 of 5: parse_mapping4
test_check_names_every_missing_importpassedmeasured1 of 5: parse_mapping4
test_the_trace_cli_reads_imports_from_the_configpassedmeasured4 of 5: fold_cases, parse_features, parse_mapping, parse_results5
test_the_cli_writes_markdown_without_sphinxpassedmeasured3 of 5: fold_cases, parse_features, test_id5
test_a_markdown_build_writes_the_summary_where_askedpassedmeasured2 of 5: fold_cases, parse_features5
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_pagepassedmeasured2 of 5: fold_cases, parse_features5
test_the_cli_prints_the_tracepassedmeasured2 of 5: fold_cases, parse_features5
test_ado_flavour_blocks_order_and_linkspassedmeasured3 of 5: fold_cases, parse_features, test_id6
test_github_flavour_pages_and_diagramspassedmeasured3 of 5: fold_cases, parse_features, test_id6
test_the_markdown_obeys_the_audiencepassedmeasured3 of 5: fold_cases, parse_features, test_id6
Reached through calls

19 tests: 19 passed

19 passed
testresultlinked byimplementers exercisedcalls away
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred3 of 5: fold_cases, parse_features, parse_mapping4
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred2 of 5: fold_cases, parse_features4
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred2 of 5: fold_cases, parse_features4
test_a_declared_docs_glob_that_matches_nothing_is_still_reportedpassedinferred1 of 5: parse_mapping4
test_a_default_docs_glob_that_matches_nothing_is_not_a_problempassedinferred1 of 5: parse_mapping4
test_a_rule_must_name_known_requirementspassedinferred1 of 5: parse_mapping4
test_check_names_every_problempassedinferred1 of 5: parse_mapping4
test_check_passes_a_valid_section_and_imports_no_sphinxpassedinferred1 of 5: parse_mapping4
test_check_refuses_a_reference_to_an_undeclared_nodepassedinferred1 of 5: parse_mapping4
test_check_refuses_an_unknown_palette_tokenpassedinferred1 of 5: parse_mapping4
test_check_refresh_brings_the_index_current_firstpassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_the_cli_check_exits_nonzero_on_a_problempassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_the_cli_creates_the_output_directorypassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_the_cli_prints_the_flow_as_jsonpassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_the_cli_takes_an_out_of_tree_configpassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_the_flow_verb_prints_svgpassedinferred3 of 5: fold_cases, parse_features, parse_mapping5
test_an_unknown_flavour_is_refusedpassedinferred1 of 5: fold_cases5

Flows through it

  • Build this wiki from the index

Raise an issue on GitHub

clew Generated by clew wiki from the repository's index