Test Double
noun
say it: “TEST DUB-ul” /tɛst ˈdʌbəl/
Any stand-in object used in a test in place of a real one, such as a stub or a fake.
What is Test Double?
Test double is the umbrella term for any stand-in used in tests: mocks, stubs, fakes, spies and dummies.
In a sentence
- “The test uses a test double instead of the real email sender.”
Level: Journeyman · More Unit Testing terms at this level
Updated