principle-test-behavior-not-implementation
Apply when writing, changing, or keeping a test. Assert what the code's users can observe so the test fails on a broken contract and survives a refactor.
- License
- Apache-2.0
Pinned to revision 654e32410e5f, 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/CHANGELOG.md
Every link opens the file at its source, pinned to the revision this page describes.