Abhishek, In addition to the tips above, i put up a post for using py.test and testtools.run as well here: https://davanum.wordpress.com/2015/01/13/quickly-running-a-single-openstack-nova-test/
-- dims On Fri, Jan 16, 2015 at 11:44 AM, Adam Young <[email protected]> wrote: > On 01/16/2015 12:37 AM, Abhishek Talwar/HYD/TCS wrote: > > Hi, > > I have been trying to debug the test cases in OpenStack, but I am not > getting successful with it. So if someone can help me with that. The last > response from the dev-list was to use " $ ./run_tests.sh -d [test module > path] " but this gives bDb quit error. > > > Depends on the project. The majority of the projects have moved over to > using tox. In Keystone, tox will run everything, which might be to much; > > > tox -epy27 > > is usually what I run for unit tests and > > tox -epep8 > > explicitly for pep8 testing. > > To run a specific file full of tests: > > tox -e py27 test_v3_auth > > works as does > > > tox -e py27 keysteon.tests.test_v3_auth.TestPKIZTokenAPIs > > > So kindly help me this. > -- > Thanks and Regards > Abhishek Talwar > > =====-----=====-----===== > 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: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Davanum Srinivas :: https://twitter.com/dims __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
