← ClaudeAtlas

applylisted

执行项目测试用例中心中选定范围,使用 Playwright、项目原生 API runner、明确测试判据和必需证据完成自动化验证、预检、结果回写、清理与中文报告。Use for apply tests, reducing manual retest, Playwright E2E, API tests, evidence-backed execution report.
hccnm/software-testing · ★ 1 · Testing & QA · score 65
Install: claude install-skill hccnm/software-testing
# Software Test Apply 用于 `$software-test:apply` / `/software-test:apply`。始终执行当前项目 `docs/test-cases/` 的明确范围;本次调用就是授权。 1. `start` 先创建独立 run 与 `data/preflight.yaml`,记录脱敏后的组件、目标、runner、浏览器、认证和能力状态。 2. Web 与跨层的 Web 部分必须用 Playwright;API-only 使用项目原生 runner。跨层用例必须逐层取证,Web 未验证时整条用例不得通过。 3. 严格按 `quality.oracle` 判定,采集其声明的证据类型;缺任一必需证据时 `finish` 拒绝把用例收口为通过。 4. 每次结果或证据更新都会重建运行报告与 `index.html`。预检失败也会生成完整阻塞报告,未执行用例保留 `not_run/environment_blocked`。 5. 清理失败只能得到阻塞报告;新场景回到 `plan` 修改当前中心。 ```bash python3 <skill-dir>/scripts/yaml_apply.py start --all [--project-root <path>] [--layer web] [--write-scope <scope>] python3 <skill-dir>/scripts/yaml_apply.py record <execution-report.html> --case <id> --status passed --actual <实际结果> python3 <skill-dir>/scripts/yaml_apply.py capture <execution-report.html> --case <id> --assertion <id> --type screenshot --source <file> python3 <skill-dir>/scripts/yaml_apply.py capture-command <execution-report.html> --case <id> --assertion <id> -- <argv...> python3 <skill-dir>/scripts/yaml_apply.py finish <execution-report.html> --cleanup-status verified ``` 读取 `references/execution-and-evidence.md`。不得修改业务逻辑、削弱���言或推断共享/生产环境的写权限。