[Twisted-Python] Which mocker tool for trial ?

Nicolas AGIUS nicolas.agius at lps-it.fr
Wed Feb 22 17:15:58 EST 2012


Thanks for the tips, Mockito work great with Trial.

But it's a bit lazy for my needs, I think I''ll try to use Mock (http://www.voidspace.org.uk/python/mock/)

Thx

--- En date de : Mar 21.2.12, Johan Rydberg <johan.rydberg at edgeware.tv> a écrit :

De: Johan Rydberg <johan.rydberg at edgeware.tv>
Objet: Re: [Twisted-Python] Which mocker tool for trial ?
À: nicolas.agius at lps-it.fr, "Twisted general discussion" <twisted-python at twistedmatrix.com>
Date: Mardi 21 février 2012, 8h58

We're using python-mockito and it works pretty good.  I've also hacked it a bitso that it works with zope interfaces.  See this post, which also contains a linkto the bitbucket project:
http://jrydberg.me/post/10519590583/strict-mocking-with-zope-interfaces
On Feb 20, 2012, at 6:04 PM, Nicolas AGIUS wrote:
Which tool are you using for mocking ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120222/16a51cb1/attachment.htm 


More information about the Twisted-Python mailing list