mcpField
T
testing-patterns

testing-patterns

github.com/yonatangross测试与质量299179 次安装今天更新
代码仓库

关于 testing-patterns

testing-patterns 是面向开发者的测试指引入口,将内容拆分为五个专门技能。它分别引导单元、端到端、集成、LLM 和性能测试工作使用对应子技能。

主要功能

  1. 01单元测试指引
  2. 02端到端测试指引
  3. 03集成测试指引
  4. 04LLM 测试指引
  5. 05性能测试指引

适用场景

  1. 01查找孤立业务逻辑的测试模式
  2. 02选择浏览器端到端测试指引
  3. 03为 API、数据库或契约测试选择技能
  4. 04查找 LLM 或负载测试指引

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/yonatangross/orchestkit --skill testing-patterns

安装后在 Claude Code 中输入/testing-patterns确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

test-cases.json
rules/
_sections.md
assertion-quality.md
test-isolation.md

详细介绍

测试模式(重定向)

此技能已在 v7.2.0 中拆分为 5 个专门的子技能。 请使用下面合适的子技能。

子技能

子技能重点适用场景
ork:testing-unit单元测试、AAA 模式、测试夹具、模拟、工厂隔离的业务逻辑测试
ork:testing-e2ePlaywright、页面对象、视觉回归、无障碍基于浏览器的端到端测试
ork:testing-integrationAPI 端点、数据库、契约测试跨边界集成测试
ork:testing-llmLLM 模拟、DeepEval/RAGAS、结构化输出AI/ML 评估与测试
ork:testing-perfk6、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