Mock And Stub Design

Decides what to replace in a test and where, chooses between a fake, a stub, a spy and a mock, and writes test doubles that stay faithful to the real dependency. Use when the user asks how to mock something, has tests full of mocks, or needs to stub a network call or service.

Lucki74 Updated
Draggy in Code mode, working on a sample project

File contents

Lucki74/draggy commit 3e1e0b2569

Frequently asked questions

npx get-skill add lucki74/mock-and-stub-design