🧪 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
- 1Default ratio: ~70% unit, ~20% integration, ~10% e2e — adjust per risk
- 2Push logic coverage down; keep e2e for critical user journeys only
- 3Integration tests own API contracts and database interactions
- 4One smoke e2e suite under 5 min gates every deploy
- 5Delete redundant tests asserting the same behavior at multiple levels
- 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-balanceInstall globally
$ npx skills add aniruddhaadak80/skills --skill test-strategy-test-pyramid-balance -gTags
#testing#pyramid#strategy#qa-testing#test-strategy