behavioral-testing

Installation
SKILL.md

Behavioral Testing

Test observable behavior. Keep tests terse. Never test implementation details.

Core Laws

1. Test what the user sees, not how the code works
2. If a refactor breaks a test, the test was wrong
3. Mocks isolate — they are never the thing being tested
4. Every assertion must trace to a user-observable outcome
5. Terse tests > thorough ceremony

Writing Tests

The Pattern

Installs
41
Repository
caidanw/skills
GitHub Stars
8
First Seen
Feb 21, 2026
behavioral-testing — caidanw/skills