Testing With Nullables

Guides writing fast, reliable, refactoring-friendly tests using the Nullables pattern language (James Shore's 'Testing Without Mocks'). Produces narrow, sociable, state-based tests with production code that has an infrastructure 'off switch' — no mock frameworks needed. Use when writing tests, replacing mocks with Nullables, making infrastructure code testable, adding createNull() factories, implementing output tracking, wrapping external dependencies, or adopting testing-without-mocks patterns. Covers embedded stubs, configurable responses, behavior simulation, A-Frame architecture, and incremental migration from mock-based test suites.

msewell 709f8fc 8 files · 54.3 KB Updated

File contents

msewell/agent-stuff/tree/main/.archive/skills/testing-with-nullables commit 709f8fcfad

Frequently asked questions

npx skillmds@latest add msewell/testing-with-nullables