test_a_checked_tree_says_nothing_extra¶
Tests › tests/guard/test_guard_main.py
What this test is for
Why it exists
The line is evidence of a skip, not decoration: with nothing skipped it must not appear, or it becomes noise an owner learns to ignore.
Given
dirty = self._dirty_tree(tmp_path)monkeypatch.chdir(tmp_path)
2 more
rc = main(["--config", NO_REQ_CONFIG, "validate", "--no-git", str(dirty)])captured = capsys.readouterr()
When
- —
Then
- ✓ rc equals 1
- ✓ captured.out + captured.err does not contain "not checked"
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) · 120 of 357 steps
… 4 steps between
… 8 steps between
… 1 step between
… 13 steps between
… 9 steps between
… 2 steps between
… 2 steps between
… 11 steps between
… 84 steps between
3 more
- thread `clew-first-build-` — `_first_build_worker` (clew/mcp_server/server.py) · 3 of 142 steps
- Build this wiki from the index · 3 of 400 steps
- clew — `main` (clew/cli.py) · 3 of 400 steps
tests/guard/test_guard_main.py:403 · its file's page
What it checks (2)
assert rc == 1not attributedassert "not checked" not in captured.out + captured.errnot 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_a_checked_tree_says_nothing_extra→_dirty_treeWhat 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 20 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-CONFIG-009 measured
- REQ-DDB-GUARD-001 measured
- REQ-DDB-GUARD-003 measured
- REQ-DDB-GUARD-004 measured
- REQ-DDB-GUARD-005 measured
- REQ-DDB-GUARD-006 measured
- REQ-DDB-GUARD-007 measured
- REQ-DDB-GUARD-011 measured
- REQ-DDB-GUARD-012 measured
- REQ-DDB-GUARD-013 measured
- REQ-DDB-GUARD-014 measured
- REQ-DDB-GUARD-018 measured
- REQ-DDB-GUARD-019 measured
- REQ-DDB-GUARD-020 measured
- REQ-DDB-GUARD-024 measured
- REQ-DDB-GUARD-025 measured
- REQ-DDB-GUARD-026 measured
- REQ-DDB-GUARD-027 measured
- REQ-DDB-PIPE-011 measured
- REQ-DDB-SCHEMA-015 measured