Hello, Eric.
On Wed, May 7, 2014 at 10:15 PM, Pendergrass, Eric <eric.pendergr...@hp.com>wrote: > 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. > > > > 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> > > > > 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? > > You can do it as easy as: .tox/py27/bin/python -m testtools.run <test_module_name> -- Kind regards, Yuriy.
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev