test_distinct_warnings_are_not_merged_with_each_other¶
Tests › tests/test_reply_bounds.py
What this test is for
Why it exists
THE RISK THIS RULE CARRIES, pinned. Grouping by shape must not fold two DIFFERENT diagnostics into one — a reader told "3 similar lines" when one of them named a broken declaration and another named an unreadable header has been actively misled.
Given
- —
When
out = _bounded_output( "\n".join( [ "WARNING index_scope: roots: is required but absent", "WARNING file_docs: could not read a.h, skipping", "WARNING doxygen: INPUT names a path that does not exist", ] ) )
Then
- ✓ out contains "roots: is required"
- ✓ out contains "could not read a.h"
- ✓ out contains "INPUT names a path"
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.
thread `clew-first-build-` — `_first_build_worker` (clew/mcp_server/server.py) · 1 of 142 steps
… 136 earlier steps
… 1 later step
tests/test_reply_bounds.py:77 · its file's page
What it checks (3)
assert "roots: is required" in outobserves_bounded_outputviaoutassert "could not read a.h" in outobserves_bounded_outputviaoutassert "INPUT names a path" in outobserves_bounded_outputviaout
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
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-054 inferred