testing

Installation
SKILL.md

Testing Patterns

For verifying test effectiveness through mutation analysis, load the mutation-testing skill. For evaluating test quality against Dave Farley's properties, load the test-design-reviewer skill.

Core Principle

Test behavior, not implementation. 100% coverage through business behavior, not implementation details.

Example: Validation code in payment-validator.ts gets 100% coverage by testing processPayment() behavior, NOT by directly testing validator functions.


Test Through Public API Only

Never test implementation details. Test behavior through public APIs.

Why this matters:

  • Tests remain valid when refactoring
  • Tests document intended behavior
Related skills
Installs
10
GitHub Stars
648
First Seen
Jan 20, 2026