Don't Mock Me said the Dummy Object
3 comments Latest by Royxob Mon, 13 Aug 2007 21:40:27 GMT
Martin Fowler posted a short entry on his bliki titled, TestDouble where he mentioned Gerard Meszaros’ book which is a collection of patterns for Xunit frameworks. Martin then describes how Gerard has encountered a lot of confusion over similar names for testing objects (stubs, mocks, fakes, dummies,...) in different frameworks and has provided a nice description of each to help you differentiate between them.
Enjoying the content? Be sure to subscribe to my RSS feed.




Don’t mock me you stubby little fake dummy!
I have to agree with Martin. Ever since Gerard showed me the matrix of “who calls what what”, I have called them ‘test doubles’; however, I /still/ use the term “fake” where he uses “stub”. Perhaps I can get out of that habit; I don’t know.
http://adqradgfbbsqf.host.com desk3 [url=http://adqsadgfbbsqf.host.com]desk4[/url] [link=http://adqaadgfbbsqf.host.com]desk6[/link]