On Mon, 2012-04-09 at 21:48 -0700, Maru Newby wrote:
> Discussing the issue at ODS is definitely a good idea.  Mock adherents
> may prefer its pythonic approach to the java-like semantics of mox,
> but it would still be good to have guidelines on when mox might be a
> more appropriate choice.

Mox is a good choice if you want to write a mocking library (like mock).
It may have a few higher level functions, but it is really a mocking
framework. I would advocate that in light of the overwhelming support of
mock in the larger python community, mox would never be a more
appropriate choice.

http://www.voidspace.org.uk/python/mock/compare.html gives some ways to
accomplish things in the different libraries that gives a good overall
comparison (of course it is biased ;).

Looking forward to discussing more at the summit.

Happy Hacking!

7-11




-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to