<div dir="ltr">Hello, Eric.<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 7, 2014 at 10:15 PM, Pendergrass, Eric <span dir="ltr"><<a href="mailto:eric.pendergrass@hp.com" target="_blank">eric.pendergrass@hp.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi, I’ve read much of the documentation around Openstack tests, tox, and testr.  All I’ve found indicates debugging can be done, but only by running the entire test suite.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’d like the ability to run a single test module with pdb.set_trace() breakpoints inserted, then step through the test.  I’ve tried this but it causes test failures on a test that would otherewise succeed.  The command I use to run the test is similar to this:  tox -e py27 <test_module_name><u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there some way to debug single tests that I haven’t found?  If not, how is everyone doing test development without the ability to debug?</p><p class="MsoNormal">

<u></u></p></div></div></blockquote></div><div class="gmail_extra"><br></div>You can do it as easy as:</div><div class="gmail_extra">.tox/py27/bin/python -m testtools.run <test_module_name></div><div class="gmail_extra">

<div><br></div>-- <br><br><div>Kind regards, Yuriy.</div>
</div></div>