Skip to content
Back to skills

Testing Strategy

ASecurity

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.

  • 225 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
testingtestingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill testing-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testing Strategy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testing Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-testing-strategy/badge)](https://www.skillsdirectory.com/skills/neversight-testing-strategy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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: ...

Files in this skill

  • SKILL.md1.7 KB
  • description_ar.txt390 B
  • description_cn.txt202 B
  • description_de.txt338 B
  • description_en.txt239 B
  • description_es.txt310 B
  • description_fr.txt318 B
  • description_it.txt301 B
  • description_ja.txt379 B
  • description_ko.txt288 B
  • description_ru.txt533 B
  • description_tw.txt202 B
  • stats.json68 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.