tdd-enforcer 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -28,12 +28,12 @@ It locks files per phase — only test files in RED, only implementation files i
|
|
|
28
28
|
|
|
29
29
|
## Setup
|
|
30
30
|
|
|
31
|
-
1. **Agent**
|
|
31
|
+
1. **Agent** checks if the repo has a test framework set up. If it doesn't, stop and ask the user what they want. Do not make assumptions, pick defaults, or proceed without their explicit decision. Then create `.pi/tdd/rules.json` with these fields:
|
|
32
32
|
|
|
33
33
|
```json
|
|
34
34
|
{
|
|
35
35
|
"blockedInRed": ["src/**/*.ts", "lib/**/*.ts", "!src/**/*.test.ts"],
|
|
36
|
-
"blockedInGreen": ["**/*.test.ts"
|
|
36
|
+
"blockedInGreen": ["**/*.test.ts"],
|
|
37
37
|
"testCommands": ["npm test"],
|
|
38
38
|
"timeoutSeconds": 30
|
|
39
39
|
}
|