Software Development

Principle Test Behavior Not Implementation

Apply when you write, change, or keep a test. Call the code the way its users do and assert the result they observe against a literal expected value. If the test would still pass when every imported function returns undefined, rewrite the assertion or delete the test.

Publisher / source
adriannoes/awesome-agentic-ai (found on the CSV list)
Upstream record
adriannoes/awesome-agentic-ai
Version
Version 2
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
87e40efe4e486f7ea639d2ed1fc0abe6c93b8fd0e89a81218086909d2470a52e