⚡AgentSkills
🧪 QA & Testing · Test Strategy

Balance the test pyramid for your app

Allocate unit/integration/e2e counts by feedback speed and failure diagnosability.

foundation~30 minQA EngineersSDETsTest Automation Engineers

Steps

  1. 1Default ratio: ~70% unit, ~20% integration, ~10% e2e — adjust per risk
  2. 2Push logic coverage down; keep e2e for critical user journeys only
  3. 3Integration tests own API contracts and database interactions
  4. 4One smoke e2e suite under 5 min gates every deploy
  5. 5Delete redundant tests asserting the same behavior at multiple levels
  6. 6Review distribution quarterly as architecture evolves

Common Pitfalls

  • ▲Ice-cream-cone suites: thousands of slow UI tests
  • ▲Unit tests mocking everything, testing nothing real

Commands

Install with skills CLI
$ npx skills add aniruddhaadak80/skills --skill test-strategy-test-pyramid-balance
Install globally
$ npx skills add aniruddhaadak80/skills --skill test-strategy-test-pyramid-balance -g

Tags

#testing#pyramid#strategy#qa-testing#test-strategy

Related skills

Failure likelihood × impact matrix focusing effort where bugs hurt most.

🧪 QA & Testing·~25m