principle-test-behavior-not-implementation
Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when that behavior breaks and keeps passing when only the internals change.
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/principle-test-behavior-not-implementation/SKILL.md
- skills/principle-test-behavior-not-implementation/LICENSE
Every link opens the file at its source, pinned to the revision this page describes.