[BangPypers] What is the best Python Mock library

Noufal Ibrahim noufal at gmail.com
Wed Jan 27 13:42:29 CET 2010


On Wed, Jan 27, 2010 at 6:05 PM, Diptanu Choudhury
<admin.nitjece at gmail.com> wrote:
> Hi,
>
> We ran into a discussion this afternoon about the various Python Mocking
> Libraries. The popular one out there seems to be Mox(according to
> my colleagues), though I like Mock(python-mock).
>
> I would like to hear the views of the python veterans of this list about the
> popular mocking libraries! :-)

I recently needed one and looked through a few. I found the whole
record/replay style a little weird and preferred a post mortem
approach. With that in mind, I found
http://www.voidspace.org.uk/python/mock/ quite nice and it's what I
use.




-- 
~noufal
http://nibrahim.net.in


More information about the BangPypers mailing list