关于 testing-patterns
testing-patterns 是面向开发者的测试指引入口,将内容拆分为五个专门技能。它分别引导单元、端到端、集成、LLM 和性能测试工作使用对应子技能。
主要功能
- 01单元测试指引
- 02端到端测试指引
- 03集成测试指引
- 04LLM 测试指引
- 05性能测试指引
适用场景
- 01查找孤立业务逻辑的测试模式
- 02选择浏览器端到端测试指引
- 03为 API、数据库或契约测试选择技能
- 04查找 LLM 或负载测试指引
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ yonatangross/ orchestkit --skill testing-patterns安装后在 Claude Code 中输入/testing-patterns确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
test-cases.jsonrules/_sections.mdassertion-quality.mdtest-isolation.md详细介绍
测试模式(重定向)
此技能已在 v7.2.0 中拆分为 5 个专门的子技能。 请使用下面合适的子技能。
子技能
| 子技能 | 重点 | 适用场景 |
|---|---|---|
ork:testing-unit | 单元测试、AAA 模式、测试夹具、模拟、工厂 | 隔离的业务逻辑测试 |
ork:testing-e2e | Playwright、页面对象、视觉回归、无障碍 | 基于浏览器的端到端测试 |
ork:testing-integration | API 端点、数据库、契约测试 | 跨边界集成测试 |
ork:testing-llm | LLM 模拟、DeepEval/RAGAS、结构化输出 | AI/ML 评估与测试 |
ork:testing-perf | k6、Locust、pytest-xdist、基准测试 | 性能与负载测试 |
快速参考
testing-unit # Unit testing patterns
testing-e2e # End-to-end with Playwright
testing-integration # API and database integration
testing-llm # LLM evaluation patterns
testing-perf # Performance and load testing
相关技能
ork:testing-unit— 单元测试:AAA 模式、测试夹具、模拟、工厂ork:testing-e2e— E2E 测试:Playwright、页面对象、视觉回归ork:testing-integration— 集成测试:API 端点、数据库、契约ork:testing-llm— LLM 测试:模拟响应、DeepEval/RAGAS 评估ork:testing-perf— 性能测试:k6、Locust、pytest-xdist
评论
支持 Markdown