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
cursor/plugins (found on skills.sh)
Upstream record
cursor/plugins
Version
Version 2
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
f7223698623b6a26fea49c751e466b38e6691b1f32ce841d3983e7ffbe2b74a6