Software Development

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.

Publisher / source
michael-denyer/pstack-claude (found on skills.sh, an awesome list)
Upstream record
michael-denyer/pstack-claude
Version
Version 3
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
8fa32ef4128346c08a2cdb5d9ec3cd08991044936bb77bd1e5b15d35596d3726