[openstack-dev] [nova] Do we have some guidelines for mock, stub, mox when writing unit test?

Ben Nemec openstack at nemebean.com
Tue Nov 12 21:41:47 UTC 2013

On 2013-11-12 15:27, Shawn Hartsock wrote:
> Good point.
> I assume someone made a comparison similar to this:
> * http://garybernhardt.github.io/python-mock-comparison/
> ... and evangelized a choice. I had assumed that Mock vs mox was not
> merely based on Python3 support but had something to do with Mock
> versus Mox. Does anyone have that context in their head? Would they
> mind sharing it?

Not in my head, but the internet remembers everything :-)


In short, the majority of respondents liked Mock better, it seems to be 
more widely used, and Mock is part of the stdlib in Python 3.3.


More information about the OpenStack-dev mailing list