testing-strategy

Installation
SKILL.md

Testing Strategy

Comprehensive testing guidance for test architecture, coverage strategy, and test design.

Test Pyramid

Level Speed Cost Confidence Share
Unit ~1ms Low Narrow 65-80%
Integration ~100ms Medium Medium 15-25%
Contract ~10ms Low API shape Part of unit
E2E ~1s+ High Broad 5-10%

Key Principles

  • Test behavior, not implementation — test what code does, not how
  • For behavior changes, write the failing test first and verify it fails for the expected reason
  • Follow the testing pyramid — more unit tests, fewer E2E
  • Use meaningful coverage metrics — branch coverage over line coverage
Related skills

More from srstomp/pokayokay

Installs
28
GitHub Stars
7
First Seen
Jan 24, 2026