testing-strategy

Installation
SKILL.md

Testing Strategy Skill

Goal

To help the user or agent define what to test, how to test it, and where to focus effort based on the project architecture.

Strategies

1. The Testing Pyramid (Classic)

Best for: Monoliths, Backend-heavy apps.

  • Structure: 70% Unit, 20% Integration, 10% E2E.
  • Focus: Fast feedback loop at the unit level.
  • Tools: Jest/Vitest (Unit), Supertest (Int), Playwright (E2E).

2. The Testing Trophy (Modern / Frontend-heavy)

Best for: React/Next.js apps, UI-heavy frontends. (For microservices, prefer Contract Testing — see below.)

  • Structure: Static Analysis (Base) -> Unit -> Integration (Big) -> E2E (Top).
  • Focus: "Write tests. Not too many. Mostly integration." (Kent C. Dodds).
  • Rationale: Integration tests give the most confidence per dollar.
Installs
1
GitHub Stars
23
First Seen
Oct 14, 2026