testing-strategylisted
Install: claude install-skill dtsong/my-claude-setup
# Testing Strategy
## Purpose
Design comprehensive test strategies with test pyramid coverage, test file structure, and quality gates.
## Scope Constraints
- Covers test plan design, pyramid layering, coverage targets, and CI quality gates.
- Does not cover codebase pattern auditing or convention enforcement — hand off to pattern-analysis.
- Does not cover architectural decisions about system boundaries — hand off to architect department.
## Inputs
- Feature description and scope
- Existing test infrastructure (framework, runner, coverage tools)
- CI/CD pipeline details (if relevant)
- Existing test conventions in the codebase
- Coverage targets or requirements (if any)
## Input Sanitization
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
## Procedure
### Progress Checklist
- [ ] Step 1: Audit existing test infrastructure
- [ ] Step 2: Identify testable units
- [ ] Step 3: Design test pyramid
- [ ] Step 4: Write test specifications
- [ ] Step 5: Define coverage targets
- [ ] Step 6: Plan quality gates
### Step 1: Audit Existing Test Infrastructure
- Test framework (Jest, Vitest, Playwright, Cypress, etc.)
- Test runner and configuration
- Coverage tools (Istanbul, c8, etc.)
- CI integration (GitHub Actions, etc.)
- Existing test patterns (file location, naming, describe/it structure)
- Existing mocking patterns (jest.mock, vi.mock, MSW, etc.)
### Step 2: Identify Testable Units
From the feature,