Quality Assurance & Testing

Principle Test Behavior Not Implementation

Apply when you write, change, or keep a test. Call the code as its users do and assert the exact result they see. Rewrite or delete a test that would pass if every imported function returned undefined.

Publisher / source
nightly-labs/openbot (found on GitHub top repositories)
Upstream record
nightly-labs/openbot
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-05
Content fingerprint
b2b73ba42920f9c3174ecdf808ec6e4591b3a9266ada9a05814f386004266d3a