test_non_outer_doc_comments_are_not_blocks¶
Tests › tests/guard/test_guard_rust.py
What this test is for
Why it exists
The test says nothing about why.
Given
(func,) = _parse(f"{comment}\nfn f() {{}}\n")
When
- —
Then
- ✓ func.doxygen is None
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.
`main` (clew/guard/main.py) · 24 of 357 steps
… 112 earlier steps
… 1 step between
… 2 steps between
… 201 later steps
tests/guard/test_guard_rust.py:95 · its file's page
What it checks (1)
assert func.doxygen is Nonenot attributed
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_non_outer_doc_comments_are_not_blocks→_parseWhat 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.
Also reaches 6 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-GUARD-018 measured
- REQ-DDB-GUARD-019 measured
- REQ-DDB-GUARD-020 measured
- REQ-DDB-GUARD-021 inferred
- REQ-DDB-GUARD-024 measured
- REQ-DDB-GUARD-025 measured