REQ-DDB-WIKI-016: Tests link to requirements without tags, and say how¶
What it requires
- Besides
@reqtags, 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 withininfer_depthhops over non-binding, non-fuzzy edges (inferred). - A test keeps its strongest kind; rows carry
measured_tests,declared_testsandinferred_tests, the page marks each, and the trace counts requirements linked only by each weaker kind.
- tier
- PASS
- declared
- implemented
- priority
- P1
How it is met
Implemented by
_contexts_from_lcovclew/wiki/imports.py:247_reaching_testsclew/wiki/evidence.py:756parse_contextsclew/wiki/imports.py:191
Tests (68)
Linked directly
54 tests: 54 passed
54 passed
Reached through calls
14 tests: 14 passed
14 passed
| test | result | linked by | implementers exercised | calls away |
|---|---|---|---|---|
test_a_build_writes_the_summary_beside_the_site | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 4 |
test_an_audience_that_excludes_bodies_gets_none | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 4 |
test_build_writes_a_self_contained_site | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 4 |
test_a_running_hub_is_opened_instead_and_a_dead_one_ignored | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 5 |
test_without_a_hub_the_static_site_is_built_and_opened | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 5 |
test_check_refresh_brings_the_index_current_first | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_the_cli_check_exits_nonzero_on_a_problem | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_the_cli_creates_the_output_directory | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_the_cli_prints_the_flow_as_json | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_the_cli_takes_an_out_of_tree_config | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_the_cli_writes_otlp_json_and_the_overlay | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_the_command_prints_yaml_and_applies_a_reviewed_file | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_the_flow_verb_prints_svg | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |
test_wiki_check_prints_ears_notes_without_failing_on_them | passed | inferred | 2 of 3: _contexts_from_lcov, parse_contexts | 6 |