[openstack-dev] [TEMPEST] doubts regarding tempest
ivasilevskaya at mirantis.com
Mon Jan 19 09:43:08 UTC 2015
I can't boast digging a lot into tempest, but at least I can give you some
info on question 1.
You can run a single test or a series of tests stopping at "import pdb;
pdb.set_trace()" if use use testr:
testr list-tests test_name_regex > my-list
python -m testtools.run discover --load-list my-list
Mind that you need to activate your venv first. More info can be found
By the way, I personally recommend ipdb - has the same power, but is a lot
more user friendly :)
Hope it helps,
On Sun, Jan 18, 2015 at 11:50 AM, Abhishek Talwar/HYD/TCS <
abhishek.talwar at tcs.com> wrote:
> I have some doubts regarding tempest.
> Q1. How can we debug test cases in OpenStack ? (We can debug the code
> through import pdb but the same doesn't work for test cases and we have a
> bdb quit error)
> Q2. Suppose I need to add a test case in the tempest suite how can I do
> that ?
> Q3. Whenever we run run_tests.sh script where does it first hit and how
> does the tests cases start running ?
> Q4. As it is said that tempest interacts only with the OpenStack Rest
> Api's , then how are the test cases for the various clients run, by clients
> here I mean the python-novaclient,keystoneclient etc.
> Thanks and Regards
> Abhishek Talwar
> Employee ID : 770072
> Assistant System Engineer
> Tata Consultancy Services,Gurgaon
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev