testing-patterns
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTesting Patterns (Redirect)
测试模式(重定向)
This skill was split into 5 focused sub-skills in v7.2.0. Use the appropriate sub-skill below.
该技能在v7.2.0版本中已拆分为5个专注的子技能。 请使用下方对应的子技能。
Sub-Skills
子技能
| Sub-Skill | Focus | When to Use |
|---|---|---|
| Unit tests, AAA pattern, fixtures, mocking, factories | Isolated business logic tests |
| Playwright, page objects, visual regression, a11y | Browser-based end-to-end tests |
| API endpoints, database, contract testing | Cross-boundary integration tests |
| LLM mocking, DeepEval/RAGAS, structured output | AI/ML evaluation and testing |
| k6, Locust, pytest-xdist, benchmark | Performance and load testing |
| 子技能 | 专注方向 | 使用场景 |
|---|---|---|
| 单元测试、AAA模式、测试夹具、Mocking、测试工厂 | 独立业务逻辑测试 |
| Playwright、页面对象、视觉回归测试、无障碍测试(a11y) | 基于浏览器的端到端测试 |
| API端点、数据库、契约测试 | 跨边界集成测试 |
| LLM Mocking、DeepEval/RAGAS、结构化输出 | AI/ML评估与测试 |
| k6、Locust、pytest-xdist、基准测试 | 性能与负载测试 |
Quick Reference
快速参考
bash
/ork:testing-unit # Unit testing patterns
/ork:testing-e2e # End-to-end with Playwright
/ork:testing-integration # API and database integration
/ork:testing-llm # LLM evaluation patterns
/ork:testing-perf # Performance and load testingbash
/ork:testing-unit # 单元测试模式
/ork:testing-e2e # 基于Playwright的端到端测试
/ork:testing-integration # API与数据库集成测试
/ork:testing-llm # LLM评估模式
/ork:testing-perf # 性能与负载测试Related Skills
相关技能
- — Unit testing: AAA pattern, fixtures, mocking, factories
ork:testing-unit - — E2E testing: Playwright, page objects, visual regression
ork:testing-e2e - — Integration testing: API endpoints, database, contracts
ork:testing-integration - — LLM testing: mock responses, DeepEval/RAGAS evaluation
ork:testing-llm - — Performance testing: k6, Locust, pytest-xdist
ork:testing-perf
- — 单元测试:AAA模式、测试夹具、Mocking、测试工厂
ork:testing-unit - — E2E测试:Playwright、页面对象、视觉回归测试
ork:testing-e2e - — 集成测试:API端点、数据库、契约测试
ork:testing-integration - — LLM测试:Mock响应、DeepEval/RAGAS评估
ork:testing-llm - — 性能测试:k6、Locust、pytest-xdist
ork:testing-perf