Prefer Fakes Over Mocks

Use when choosing or reviewing test doubles — deciding between a fake, stub, or mock for a collaborator. Default to fakes (working in-memory implementations); reserve interaction mocks for the narrow cases where the interaction itself is the contract.

selamy-labs Updated

File contents

selamy-labs/agent-skills/tree/main/skills/prefer-fakes-over-mocks commit 26c9023221

Frequently asked questions

npx skillmds@latest add selamy-labs/prefer-fakes-over-mocks