🧪testing-strategy
- プラグイン
- Engineering
- ソース
- GitHub で見る ↗
説明
テスト戦略とテスト計画を設計します。 次のような場合に使用: - 「どのようにテストすべきか」 - 「〜のテスト戦略」 - 「〜のテストを書く」 - 「テスト計画」 - 「どのようなテストが必要か」 - ユーザーがテスト手法、カバレッジ、またはテストアーキテクチャについてのサポートが必要な場合
原文を表示
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.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。