[openstack-dev] [nova] fastest way to run individual tests ?

melanie witt melwitt at outlook.com
Thu Jul 10 20:50:05 UTC 2014


On Jul 9, 2014, at 13:51, Matt Riedemann <mriedem at linux.vnet.ibm.com> wrote:

> I've been beating my head against the wall a bit on unit tests too this week, and here is another tip that just uncovered something for me when python -m testtools.run and nosetests didn't help.
> 
> I sourced the tox virtualenv and then ran the test from there, which gave me the actual error, so something like this:
> 
> source .tox/py27/bin/activate
> python -m testtools.run <test>
> 
> Props to Matt Odden for helping me with the source of the venv tip.

This is awesome, thank you for sharing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140710/726dc95f/attachment.pgp>


More information about the OpenStack-dev mailing list