On February 18, 2010, Andrew Bennetts wrote: > Jeroen Vermeulen wrote: > > Greetings fellow hackers, > > [...] > > > A FakeMethod can take the place of any function or method, and: > > - Return a constant value. > > - Raise an exception instead. > > - Tell you how many times it's been invoked. > > This looks handy. Although, in my ideal world it'd be called > StubMethod, to be more consistent with the terminology for test doubles > described in <http://www.martinfowler.com/bliki/TestDouble.html>. >
Jeroen wanted to be nice to Stuart, (from his original message): >> (But I >> didn't call them that so we can discuss them without making Stuart's IRC >> client go off :). -- Francis J. Lacoste [email protected]
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

