[openstack-dev] How to debug test cases in Openstack
Adam Young
ayoung at redhat.com
Fri Jan 16 16:44:18 UTC 2015
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: 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/a308d545/attachment.html>
More information about the OpenStack-dev
mailing list