Testing Behavior Not Implementation

Checks each test asserts what the code's users can observe, so it fails when that behavior breaks and passes when only internals change. Use when the user says "test behavior, not implementation", or when writing, changing, or keeping a test. Not for auditing a whole suite; use auditing-tests.

bostonaholic Updated 11 repo stars

File contents

bostonaholic/skills commit 8595e11685

Frequently asked questions

npx get-skill add bostonaholic/testing-behavior-not-implementation