Ask Your Question

unable to run openstack tempest testcases in group

asked 2014-08-20 01:30:59 -0500

abhi24790 gravatar image

updated 2014-08-20 23:55:53 -0500

i have created one sampletest.txt file in tempest folder and written tempest test case location in that file.

now i want to run that file using testr or nosetest so that all the test case present in that file get executed.. example contents in sampletest.txt file





now i want to execute this sampletest.txt file so that all the testcase get executed... if i am executing this file as, nosetests -vx sampletest.txt i am getting error,

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-24 13:39:37 -0500

Hi abhi24790,

I think you are looking for -c as the option to execute the tests from the config file?

Let us know if that works.


edit flag offensive delete link more


Hi prasoon, thanks for replying, now when I am typing this command

nosetests -c testfile.txt I'm getting error --- Error reading config file 'testfile.txt': File contains no section headers.

abhi24790 gravatar imageabhi24790 ( 2014-08-27 05:45:22 -0500 )edit

hi prasoon, I think u didn't understand what I wanted to say, I have collected diffrent test cases from diffrent diffrent python directories and pasted in testfiles.txt and now I want to to run those testcase at a time using nosetest or testr run

abhi24790 gravatar imageabhi24790 ( 2014-08-27 06:20:40 -0500 )edit

can you copy the txt file to and add the link to the question? It will be more easy to debug. :)

prasoontelang gravatar imageprasoontelang ( 2014-08-27 08:01:23 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-20 01:30:59 -0500

Seen: 190 times

Last updated: Aug 24 '14