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
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:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "grimoire",
|
||||
"description": "Grimoire for Claude Code: connects the grimoire MCP server, adds the hooks that deliver live project state and relevant records at the right moment, ships the shared client-neutral Grimoire skills (using-grimoire, writing-plans, reporting-back, systematic-debugging, verification, brainstorming, reusing-code, shape-accounting, family-canon, reviewing-tests), and syncs your saved Grimoire Processes as skills (/grimoire:sync).",
|
||||
"version": "2026.12.01.0344",
|
||||
"version": "2026.12.01.0748",
|
||||
"author": {
|
||||
"name": "Bryan Van Deusen"
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user