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.

scaryrawr b32625d 2.5 KB Updated

File contents

scaryrawr/scarypilot/tree/main/external_plugins/pstack/skills/principle-test-behavior-not-implementation commit b32625d010

Frequently asked questions

npx skillmds@latest add scaryrawr/principle-test-behavior-not-implementation