fix(8249): test groups come smallest first, and a big one is read as a feature area
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m14s
CI & Build / integration (push) Successful in 2m28s
CI & Build / Build & push image (push) Successful in 35s

A group is the set of tests reaching the same code from different files. A
test that drives a feature through its one entry point reaches exactly that
entry point whatever it checks, so the largest groups are a feature tested
from many files, not copies. Listing them first buried the two- and
three-test groups where one-for-one duplicates are. The readout, the tool and
the panel now list smallest first; each group says copies or area and how
many files it spans, and the panel tells an area to fold its scattered cases
into one file. Plugin 2026.12.01.0748.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 02:49:06 -05:00
co-authored by Claude Opus 5.5
parent 70ca2e8a11
commit 7c7a1a7ab9
6 changed files with 62 additions and 9 deletions
+6
View File
@@ -47,6 +47,12 @@ finish it before starting the next. In each area:
with its `signals`: `signature` (pins how code is declared), `mock-only`
(asserts only that mocks were called), `source-text` (reads source as
text). Signals point at what to read first; they never decide a verdict.
Groups come smallest first. A `copies` group (three tests or fewer) is
where one-for-one duplicates hide. An `area` group is one feature
tested from several files, since every test that drives a feature
through its entry point reaches the same code. Read it as one area: fold
the scattered cases into the feature's own file, and remove only what
another test already checks.
2. **Read every test** and give it one verdict:
- **keep** — it protects something a user or caller relies on, and
nothing else in the suite protects it;