feat(testing): close the testing gap in ce:work, ce:plan, and testing-reviewer (#438)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trevin Chow
2026-03-29 13:07:05 -07:00
committed by GitHub
parent a301a08205
commit 35678b8add
8 changed files with 399 additions and 6 deletions

View File

@@ -245,3 +245,18 @@ describe("ce-review contract", () => {
expect(slfg).toContain("/ce:review mode:autofix")
})
})
describe("testing-reviewer contract", () => {
test("includes behavioral-changes-with-no-test-additions check", async () => {
const content = await readRepoFile("plugins/compound-engineering/agents/review/testing-reviewer.md")
// New check exists in "What you're hunting for" section
expect(content).toContain("Behavioral changes with no test additions")
// Check is distinct from untested branches check
expect(content).toContain("distinct from untested branches")
// Non-behavioral changes are excluded
expect(content).toContain("Non-behavioral changes")
})
})