[openstack-dev] [Unit-test] Cinder Driver

2014-05-30 Thread Yogesh Prasad
Hi All, I have developed a cinder driver. Can you please share the steps to create an unit test environment and how to run unit test? *Thanks Regards*, Yogesh Prasad. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org

Re: [openstack-dev] [Unit-test] Cinder Driver

2014-05-30 Thread Erlon Cruz
Hi Yogesh, The best way to start writing tests is to get some examples from tests already implemented. Since icehouse release, all tests must be written with mockĀ¹. Most of the tests on the codebase are written with the old framework (mox), please have a look on this implementations: