summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Ritter <drew@ritter.dev>2026-09-17 15:50:19 -0700
committerGitHub <noreply@github.com>2026-09-17 15:50:19 -0700
commitdcc1b26bc513bd0d0c0781fce0383ef0ae4ac1e4 (patch)
tree37a9bd2ee0247de7e339e4d21c0d6c68077e9fae
parent325cfa21ef61d0504ec0fbf058c75749d575a084 (diff)
parenta45ede8ddc0e0545a788868c83814b9d01fbf312 (diff)
Merge pull request #2110 from obra/feat/verification-floor-tdd
feat(tdd): the project's suite defines green, not just your test file
-rw-r--r--skills/test-driven-development/SKILL.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/skills/test-driven-development/SKILL.md b/skills/test-driven-development/SKILL.md
index 4320d88..46838cc 100644
--- a/skills/test-driven-development/SKILL.md
+++ b/skills/test-driven-development/SKILL.md
@@ -182,6 +182,16 @@ Confirm:
**Other tests fail?** Fix now.
+**"Other tests" means the project's suite, not just your file.** A
+green run of the test you wrote is not a green suite. Before you call
+the change done, run the project's test command (bare `pytest`,
+`npm test`, `cargo test` — whatever the repo uses) even when your task
+named only one test file. A scope statement in your task bounds the
+deliverable, not your verification. Any failure that run shows —
+including one you didn't cause — goes in your report by name; a red
+test you watched scroll past and didn't mention is a report falsified
+by omission.
+
### REFACTOR - Clean Up
After green only: