Prompt Template
AI Testing Strategy Prompt Use Case
QA engineers and tech leads designing testing strategies for new projects or improving existing test coverage across unit, integration, e2e, and performance layers.
Example Output
## Testing Strategy: E-Commerce Platform
### Unit Tests (Target: 80%)
- Jest for business logic, utility functions
- Mock external APIs with MSW
### Integration Tests (Target: 60%)
- Supertest for API endpoints
- Testcontainers for PostgreSQL
### E2E Tests (Target: Critical Paths)
- Playwright for checkout flow, login, search
- Run on CI per PR, full suite nightly
### Performance
- k6 for load testing (2K concurrent)
- Lighthouse CI for frontend perf budget