Read my latest article: 2016 Rails hosting survey is open (posted Tue, 12 Apr 2016 17:50:22 GMT)

Don't Mock Me said the Dummy Object

Posted by Wed, 18 Jan 2006 15:11:00 GMT

2 comments Latest by J. B. Rainsberger Fri, 02 Jun 2006 21:27:41 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.

Read more…

Subscribe to my RSS feed Enjoying the content? Be sure to subscribe to my RSS feed.
comments powered by Disqus
  1. Avatar Thu, 19 Jan 2006 06:18:09 GMT

    Don’t mock me you stubby little fake dummy!

  2. Avatar
    J. B. Rainsberger Fri, 02 Jun 2006 21:27:41 GMT

    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.