testing-strategy
カバレッジ、実行速度、メンテナンスコストのバランスが取れたテスト戦略を、テストピラミッドのメソドロジーに基づいて設計します。
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill testing-strategyBefore / After 効果比較
1 组テスト作成が無計画で場当たり的、エンドツーエンドテストが多すぎて実行が遅い、単体テストのカバー率が不十分、メンテナンスコストが高く、テストスイートが徐々に開発のボトルネックになっている。
テストピラミッドに基づき各層のテスト比率を適切に配分し、カバレッジと実行速度のバランスを取り、各テストタイプの責任範囲を明確化することで、テストスイートは効率的で保守が容易になる。
testing-strategy
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. Weekly Installs205Repositoryanthropics/know…-pluginsGitHub Stars9.9KFirst SeenFeb 24, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex191opencode191gemini-cli190cursor189github-copilot189amp188
ユーザーレビュー (0)
レビューを書く
レビューなし
統計データ
ユーザー評価
この Skill を評価