Defined Classifications for "Mock Objects"

Sat, 13 May 2006 17:46:00 -0700
testing, unittesting, mockobjects, mock, objects

Martin Fowler has a good article on his blog about the different kinds of "mock objects" used in unit testing. He uses Gerard Meszaros' word for this classification of object: Test Double. If you've ever been in a discussion about unit tests, you know how easily misunderstandings can result from throwing around terms like "mock", "dummy, or "stub". It's a good idea to have a consistent definition for these things.