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

Noorul Islam K M noorul at noorul.com
Sun Nov 10 15:25:38 UTC 2013

Jay Lau <jay.lau.513 at gmail.com> writes:

> Hi,
> I noticed that we are now using mock, mox and stub for unit test, just
> curious do we have any guidelines for this, in which condition shall we use
> mock, mox or stub?

There is already a blueprint [1] in Nova project to replace Mox with mock.

Also it has a link to ML thread [2].


[1] https://blueprints.launchpad.net/nova/+spec/mox-to-mock-conversion
[2] http://lists.openstack.org/pipermail/openstack-dev/2013-July/012484.html

More information about the OpenStack-dev mailing list