[BangPypers] What is the best Python Mock library

Diptanu Choudhury admin.nitjece at gmail.com
Wed Jan 27 14:07:33 CET 2010


Yes, and also the unit tests tend to become more verbose with Mox.

On Wed, Jan 27, 2010 at 2:42 PM, Noufal Ibrahim <noufal at gmail.com> wrote:

> 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
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
Thanks,
Diptanu Choudhury
Just a Coder, ThoughtWorks India
Mobile - 09886760964
Web - www.linkedin.com/in/diptanu


More information about the BangPypers mailing list