From testing
Choosing between mocks, stubs, fakes, spies, and dummies based on testing needs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/testing:test-doubles-strategyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Strategies for replacing real objects with test doubles.
Strategies for replacing real objects with test doubles.
You are selecting the right test double for the job. Understand the tradeoffs of each approach.
npx claudepluginhub sethdford/claude-skills --plugin engineer-testingGenerates PHPUnit test doubles (stubs, mocks, fakes, spies) for PHP 8.4. Selects type based on needs like verifying interactions, canned responses, or simplified real behavior.
Generates mocks, stubs, spies, and fakes for test dependency isolation. Supports Jest/Vitest/Sinon, pytest/unittest.mock, Go/gomock, and more.
Provides framework-agnostic testing principles covering test philosophy, structure, and mocking boundaries. Use when writing, reviewing, or debugging tests.