Good vocabulary for “Test Doubles”

Gerard Meszaros is writing a book on the patterns used with the various XUnit frameworks. Unfortunately, there is no consistent use of terms for things like stubs, mocks, fakes, dummies, etc.

Generically, Gerard is calling them “Test Doubles”, and has some specific definitions for four different variations: Dummy, Fake, Stub, and Mock, which really make sense. I hope this catches on so that we can standardize our use of these terms.

via Martin Fowler


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s