Skip to content

Glossary: Software Design Patterns in Java

Test double

Also written: test stand-in

Any stand-in used in a test in place of a real part. Fakes, stubs and mocks are the three common kinds.

Where the book teaches it

Related terms

FakeStubMock