Create a testing plan tied to PRD acceptance criteria with a coverage matrix (AC→tests), deterministic fixtures/factories, and mocked externals. Use when adding tests for a feature/fix and ensuring every acceptance criterion is covered.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add NeverSight/skills_feed --skill testing-strategy --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Testing Strategy?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/neversight-testing-strategy)More formats (shields.io, HTML) on the badges page.
---
name: testing-strategy
description: Create a testing plan tied to PRD acceptance criteria with a coverage matrix (AC→tests), deterministic fixtures/factories, and mocked externals. Use when adding tests for a feature/fix and ensuring every acceptance criterion is covered.
---
# Testing Strategy
## Inputs
- PRD acceptance criteria (`docs/prds/`)
- Design doc (`docs/architecture/`)
- Test conventions/commands (`PROJECT.md`)
## 1. Coverage Matrix
Create a table:
- Acceptance criterion → test type (unit/integration/e2e) → location → status
**Expected**: Every acceptance criterion has ≥1 test.
## 2. Choose Test Types
- Unit: pure logic
- Integration: API + DB + critical boundaries
- E2E: only critical happy paths + major regression risks
**Expected**: Minimal, reliable tests with maximum signal.
## 3. Determinism and Isolation
- Use factories/fixtures (no brittle hardcoded data).
- Mock external services (never call real APIs).
- Avoid time/network flakiness; control randomness.
**Expected**: Tests are deterministic, parallel-safe, CI-friendly.
## 4. Negative & Edge Coverage
- Validation errors
- Permissions/authz boundaries
- Empty states
- Partial failures (retries/idempotency if relevant)
**Expected**: Critical failure modes are covered.
## 5. Run Tests
Run the test commands from `PROJECT.md`.
**Expected**: All tests pass.
## 6. Summary Report
After running, provide:
### Passed Checks
- [ ] Coverage matrix complete
- [ ] External services mocked
- [ ] Tests deterministic
- [ ] Tests pass
### Gaps / Follow-ups
For each gap:
1. **Acceptance criterion**: ...
- Missing test type: ...
- Suggested test location: ...
- Suggested fix: ...
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!