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 0 repo stars

File contents

selamy-labs/agent-skills commit 26c9023221

Frequently asked questions

npx get-skill add selamy-labs/prefer-fakes-over-mocks