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.

arjitj2 Updated 16 repo stars

File contents

arjitj2/open-pstack commit bc935fbd11

Frequently asked questions

npx get-skill add arjitj2/principle-test-behavior-not-implementation