REQ-DDB-GUARD-010: Impact report generation

← Requirements

What it requires

  1. Impact report lists affected requirements with their changed functions
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Guard: the pre-commit gate15
  • Build: docs, requirements and tests layers1

See it on the map

How it is met

implemented bytestsresult_run_impact_commandbuild_impact_reportbuild_reportcases_incollect_changescovering_testsfind_indexformat_jsonformat_markdownformat_textimpact_entriesimpact_reportown_reqsrun_impacttests_forviatest_a_change_in_test_code_is_reported_as_test_codepassedtest_a_changed_declaration_carries_its_definition_s_requirementspassedtest_a_range_with_no_files_reads_the_files_the_range_changedpassedtest_a_report_without_the_reach_step_keeps_its_shapepassedtest_a_requirement_name_cannot_forge_table_rowspassedtest_a_submodule_in_the_range_is_an_unmapped_file_never_openedpassedtest_an_untagged_change_reaches_a_requirement_through_its_callerspassedtest_covering_tests_are_read_from_the_test_treepassedtest_each_requirement_names_the_owners_of_the_changed_filespassedtest_empty_reportpassedtest_existing_declaration_is_not_overwritten_without_forcepassedtest_finds_changed_functionpassedtest_full_pipelinepassedtest_groups_by_requirementpassedtest_impact_json_names_its_schema_versionpassedtest_impact_no_files_returns_0passedtest_lists_reqspassedtest_no_change_no_resultpassedtest_no_changespassedtest_no_owners_file_leaves_reviewers_out_rather_than_emptypassedtest_precommit_with_impactpassedtest_renders_tablepassedtest_stdout_is_the_default_destinationpassedtest_the_pre_commit_hook_runs_the_coverage_gatepassedtest_the_report_lists_via_tests_and_unmappedpassedtest_unknown_extension_skippedpassedtest_valid_jsonpassedtest_without_an_index_an_untagged_change_is_unmapped_and_says_whypassed

Show on the map

Implemented by

Tests (28)

Linked directly

28 tests: 28 passed

28 passed
testresultlinked byimplementers exercisedcalls away
test_impact_no_files_returns_0passedmeasured9 of 16—
test_precommit_with_impactpassedmeasured8 of 16—
test_the_pre_commit_hook_runs_the_coverage_gatepassedmeasured8 of 16—
test_an_untagged_change_reaches_a_requirement_through_its_callerspassedmeasured1 of 16: via—
test_a_range_with_no_files_reads_the_files_the_range_changedpassedmeasured9 of 161
test_full_pipelinepassedmeasured9 of 161
test_the_report_lists_via_tests_and_unmappedpassedmeasured6 of 161
test_each_requirement_names_the_owners_of_the_changed_filespassedmeasured4 of 16: build_impact_report, build_report, format_json, format_markdown1
test_no_owners_file_leaves_reviewers_out_rather_than_emptypassedmeasured4 of 16: build_impact_report, build_report, format_json, format_markdown1
test_without_an_index_an_untagged_change_is_unmapped_and_says_whypassedmeasured4 of 16: build_report, own_reqs, tests_for, via1
test_a_changed_declaration_carries_its_definition_s_requirementspassedmeasured3 of 16: build_report, own_reqs, tests_for1
test_a_report_without_the_reach_step_keeps_its_shapepassedmeasured3 of 16: build_impact_report, build_report, format_json1
test_a_change_in_test_code_is_reported_as_test_codepassedmeasured2 of 16: build_report, tests_for1
test_covering_tests_are_read_from_the_test_treepassedmeasured2 of 16: cases_in, covering_tests1
test_empty_reportpassedmeasured2 of 16: format_markdown, format_text1
test_groups_by_requirementpassedmeasured2 of 16: build_impact_report, build_report1
test_no_changespassedmeasured2 of 16: build_impact_report, build_report1
test_a_requirement_name_cannot_forge_table_rowspassedmeasured1 of 16: format_markdown1
test_a_submodule_in_the_range_is_an_unmapped_file_never_openedpassedmeasured1 of 16: collect_changes1
test_impact_json_names_its_schema_versionpassedmeasured1 of 16: format_json1
test_lists_reqspassedmeasured1 of 16: format_text1
test_renders_tablepassedmeasured1 of 16: format_markdown1
test_valid_jsonpassedmeasured1 of 16: format_json1
test_finds_changed_functionpassedmeasured1 of 16: collect_changes2
test_no_change_no_resultpassedmeasured1 of 16: collect_changes2
test_unknown_extension_skippedpassedmeasured1 of 16: collect_changes2
test_existing_declaration_is_not_overwritten_without_forcepassedmeasured1 of 16: find_index3
test_stdout_is_the_default_destinationpassedmeasured1 of 16: find_index3

Flows through it