Feedback from some of the Nova sessions were,

"If you are writing new tests, try to use mock."
"Writing new tests to cover more code (esp drivers) is more preferable
to any effort that just converts from mox to mock"

-- dims

On Sun, Nov 10, 2013 at 11:25 PM, Noorul Islam K M <noo...@noorul.com> wrote:
> Jay Lau <jay.lau....@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].
>
> Regards,
> Noorul
>
> [1] https://blueprints.launchpad.net/nova/+spec/mox-to-mock-conversion
> [2] http://lists.openstack.org/pipermail/openstack-dev/2013-July/012484.html
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Davanum Srinivas :: http://davanum.wordpress.com

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to