Skip to content

Definition

A test double is a stand-in for a real dependency used in a test, allowing the test to control inputs and observe outputs without exercising the real object — a family that includes dummies, stubs, spies, mocks and fakes.