[TIP] Mock objects in testing object composition?

Kumar McMillan kumar.mcmillan at gmail.com
Sun May 20 15:44:14 PDT 2007


On 5/18/07, Benji York <benji at benjiyork.com> wrote:
> Martin calls the class of things "mocks", "stubs", "fakes", and
> "dummies" belong to "doubles".

ahh, ok, "doubles" ... I can live with that.

"... Meszaros uses the term Test Double as the generic term for any
kind of pretend object used in place of a real object for testing
purposes. The name comes from the notion of a Stunt Double in movies
..."

- http://www.martinfowler.com/articles/mocksArentStubs.html



More information about the testing-in-python mailing list