test_skipped_or_ran_produces_no_partial_notice¶
Tests › tests/test_partial_disclosure.py
What this test is for
Why it exists
EMPTY ON A HEALTHY INDEX IS THE LOAD-BEARING HALF — `notices()`'s own docstring: "a warning that is always present is a warning nobody reads". A TypeScript repo that skipped doxygen is COMPLETE, and flagging it would teach every such user to ignore the axis.
Given
for outcome in ("skipped", "ran"): assert "partial" not in _axes(_status(outcome)), f"{outcome} was flagged as partial"
When
- —
Then
- ✓ _axes({"source_changed_files": 0}) does not contain "partial"
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) · 6 of 142 steps
… 87 earlier steps
… 42 later steps
2 more
- Build, refresh and check the index · 6 of 153 steps
- `main` (scripts/stage_probe.py) · 6 of 37 steps
tests/test_partial_disclosure.py:75 · its file's page
What it checks (2)
assert "partial" not in _axes(_status(outcome)), f"{outcome} was flagged as partial"observes_axesassert "partial" not in _axes({"source_changed_files": 0}), "an unstamped index was flagged"observes_axes
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_skipped_or_ran_produces_no_partial_notice→_axes→_statusWhat 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-MCP-004 measured