@acmekit/acmekit 2.13.83 → 2.13.84
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/dist/templates/app/.claude/agents/test-writer.md +287 -379
- package/dist/templates/app/.claude/commands/test.md +7 -1
- package/dist/templates/app/.claude/rules/testing.md +493 -846
- package/dist/templates/app/.claude/skills/write-test/SKILL.md +175 -117
- package/dist/templates/plugin/.claude/agents/test-writer.md +332 -273
- package/dist/templates/plugin/.claude/commands/test.md +7 -1
- package/dist/templates/plugin/.claude/rules/testing.md +397 -653
- package/dist/templates/plugin/.claude/skills/write-test/SKILL.md +233 -153
- package/package.json +39 -39
|
@@ -12,6 +12,7 @@ Changed files:
|
|
|
12
12
|
|
|
13
13
|
Existing test files:
|
|
14
14
|
!`find src/ -name "*.spec.ts" -o -name "*.test.ts" 2>/dev/null | head -20`
|
|
15
|
+
!`find integration-tests/ -name "*.spec.ts" 2>/dev/null | head -20`
|
|
15
16
|
|
|
16
17
|
## Instructions
|
|
17
18
|
|
|
@@ -29,11 +30,16 @@ Run the appropriate tests based on what the user specified or what changed.
|
|
|
29
30
|
NODE_OPTIONS=--experimental-vm-modules npx jest src/modules/<name>/__tests__/ --verbose
|
|
30
31
|
```
|
|
31
32
|
|
|
32
|
-
**Plugin integration tests** (files in `integration-tests/`):
|
|
33
|
+
**Plugin integration tests** (files in `integration-tests/plugin/`):
|
|
33
34
|
```bash
|
|
34
35
|
NODE_OPTIONS=--experimental-vm-modules npx jest integration-tests/plugin/<feature>.spec.ts --verbose
|
|
35
36
|
```
|
|
36
37
|
|
|
38
|
+
**HTTP integration tests** (files in `src/api/` or `integration-tests/http/`):
|
|
39
|
+
```bash
|
|
40
|
+
NODE_OPTIONS=--experimental-vm-modules npx jest integration-tests/http/<feature>.spec.ts --verbose
|
|
41
|
+
```
|
|
42
|
+
|
|
37
43
|
**Unit tests** (`.unit.spec.ts` files):
|
|
38
44
|
```bash
|
|
39
45
|
NODE_OPTIONS=--experimental-vm-modules npx jest <path>.unit.spec.ts --verbose
|