csspilot 0.1.1 → 0.2.0
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/README.md +9 -9
- package/dist/bin.js +1683 -849
- package/dist/index.js +1683 -849
- package/dist/skills/testpilot/SKILL.md +12 -2
- package/dist/skills/testpilot/manifest.yaml +1 -1
- package/package.json +2 -8
|
@@ -45,12 +45,22 @@ npx csspilot validate # validate cases against the DSL
|
|
|
45
45
|
npx csspilot list # list cases (--tag smoke)
|
|
46
46
|
npx csspilot run # run cases (file paths / --tag)
|
|
47
47
|
npx csspilot report # generate JSON + HTML report
|
|
48
|
-
npx csspilot doctor # check
|
|
48
|
+
npx csspilot doctor # health check (config / cases / adapters / env / server)
|
|
49
|
+
npx csspilot ci init # generate TestPilot CI workflow template
|
|
49
50
|
```
|
|
50
51
|
|
|
52
|
+
## Project context
|
|
53
|
+
|
|
54
|
+
Read `references/` first (generated by `csspilot init` for this project):
|
|
55
|
+
|
|
56
|
+
- `references/project.md` — project name / type / test dirs / available adapters
|
|
57
|
+
- `references/test-conventions.md` — the testing rules this project enforces
|
|
58
|
+
- `references/adapters.md` — detected adapter status
|
|
59
|
+
|
|
60
|
+
|
|
51
61
|
## Directory map (business project)
|
|
52
62
|
|
|
53
|
-
- `.
|
|
63
|
+
- `.agents/skills/testpilot/` — this skill (AI usage spec)
|
|
54
64
|
- `.testpilot/` — TestPilot runtime state and artifacts
|
|
55
65
|
- `tests/e2e/cases/` — business cases
|
|
56
66
|
- `testpilot.yaml` — project-level TestPilot config
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "csspilot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "TestPilot — AI Native 跨端业务测试基础设施 CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,14 +28,8 @@
|
|
|
28
28
|
"playwright": "^1.53.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@testpilot/adapter-core": "workspace:^",
|
|
32
|
-
"@testpilot/adapter-playwright": "workspace:^",
|
|
33
|
-
"@testpilot/adapter-wechatide": "workspace:^",
|
|
34
31
|
"@testpilot/core": "workspace:^",
|
|
35
|
-
"@testpilot/
|
|
36
|
-
"@testpilot/evidence": "workspace:^",
|
|
37
|
-
"@testpilot/execution-engine": "workspace:^",
|
|
38
|
-
"@testpilot/reporter": "workspace:^",
|
|
32
|
+
"@testpilot/sdk": "workspace:^",
|
|
39
33
|
"@types/node": "^22.0.0",
|
|
40
34
|
"commander": "^12.0.0",
|
|
41
35
|
"esbuild": "^0.25.0",
|