test_cobertura_lines_are_read_per_file

Tests › tests/test_wiki_evidence.py

passed Passed in the packaged run.

What this test is for

Why it exists

Hit lines per file.

What it exercises

The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.

Build this wiki from the index · 1 of 400 steps

… 350 earlier steps

callercallercallercallerclew/wiki/build.pyclew/wiki/build.pyclew/wiki/build.pyclew/wiki/build.pyother filesother filesother filesother filesbuild_wiki351–352. parse_junit → _case_where351_case_where +1 more353. _root → check_report_size353check_report_size▶ test enters354. _build_site → _lines_by_test354_lines_by_test355. _lines_by_test → lines_per_test355lines_per_test

… 45 later steps

tests/test_wiki_evidence.py:64 · its file's page

What it checks (1)

  1. assert parse_cobertura(report) == {"src/a.c": {10: 3, 11: 0, 30: 0}}

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_cobertura_lines_are_read_per_file→parse_cobertura

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

test_cobertura_lines_are_read_per_file · 1 checksparse_coberturaREQ-DDB-WIKI-002 · measured
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.