Skip to main content

testing-strategy

Design test strategies and test plans. Trigger with "how should we test", "test strategy for", "write tests for", "test plan", "what tests do we need", or when the user needs help with testing approaches, coverage, or test architecture.

来源信息

仓库
anthropics/knowledge-work-plugins
最近来源活动
2026年2月24日 00:08
检测到的 SKILL.md 语言
英语
星标
29,826
分支
3,372

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
testing-strategy
description
Design test strategies and test plans. Trigger with "how should we test", "test strategy for", "write tests for", "test plan", "what tests do we need", or when the user needs help with testing approaches, coverage, or test architecture.
# Testing Strategy Design effective testing strategies balancing coverage, speed, and maintenance. ## Testing Pyramid ``` / E2E \ Few, slow, high confidence / Integration \ Some, medium speed / Unit Tests \ Many, fast, focused ``` ## Strategy by Component Type - **API endpoints**: Unit tests for business logic, integration tests for HTTP layer, contract tests for consumers - **Data pipelines**: Input validation, transformation correctness, idempotency tests - **Frontend**: Component tests, interaction tests, visual regression, accessibility - **Infrastructure**: Smoke tests, chaos engineering, load tests ## What to Cover Focus on: business-critical paths, error handling, edge cases, security boundaries, data integrity. Skip: trivial getters/setters, framework code, one-off scripts. ## Output Produce a test plan with: what to test, test type for each area, coverage targets, and example test cases. Identify gaps in existing coverage.
在 GitHub 查看