Testing Without Mocks

Apply James Shore's "Testing Without Mocks" pattern language to write tests that are narrow, sociable, state-based, and free of mocks/spies. Use this skill when writing or refactoring tests for any codebase, when the user asks to test code without mocks, when applying Nullable infrastructure patterns, when structuring code with A-Frame Architecture for testability, or when converting legacy mock-heavy tests. Triggers: "test without mocks", "nullable pattern", "sociable tests", "A-Frame architecture", "remove mocks", "testing-without-mocks", "narrow tests", "infrastructure wrapper", "embedded stub".

hugoduncan 32b4586 2 files · 23.9 KB Updated

File contents

hugoduncan/psi/tree/main/.psi/skills/testing-without-mocks commit 32b4586788

Frequently asked questions

npx skillmds@latest add hugoduncan/testing-without-mocks