[openstack-dev] [qa] Doubts regarding testing in OpenStack

Salvatore Orlando sorlando at nicira.com
Fri Jan 16 07:12:57 UTC 2015


You are right.

run_tests.sh simply runs unit tests which cover tempest's code itself.

In order to run the tests for the various OpenStack services, use tox.
In tox.ini there are several environments defined which run different sets
of tests.
When all you want to do is run just a specific test module or test case, it
is possible to use the 'all' environment. For instance, to run only
scenarios I usually do:

tox -eall -- tempest.scenario

Hope this helps,
Salvatore


On 16 January 2015 at 05:48, Abhishek Talwar/HYD/TCS <
abhishek.talwar at tcs.com> wrote:

> Hi,
>
> I am bit confused regarding the testing in OpenStack. The run_tests.sh
> script ( that is at the root of every component may it be nova,keystone etc
> ) , does it run only the unit tests covered under that component or it runs
> the test cases it tempest too (for ex scenario tests, api tests etc).
>
> Please provide me some information regarding this.
>
>
> --
> Thanks and Regards
> Abhishek Talwar
> Employee ID : 770072
> Assistant System Engineer
> Tata Consultancy Services,Gurgaon
> India
> Contact Details : +918377882003
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150116/65d28fee/attachment.html>


More information about the OpenStack-dev mailing list