[openstack-dev] Running individual UTs with TOX?

Paul Michali pcm at cisco.com
Mon Apr 29 19:31:22 UTC 2013


Hi,

With the change from run_tests to TOX, how do I run a test for a single module, class, or function?

From the run_tests.py doctoring:

To run a single unit test::
    python run_tests.py unit.test_stores:TestSwiftBackend.test_get

To run a single unit test module::
    python run_tests.py unit.test_stores

Wondering how to do that with TOX.


Thanks in advance,

PCM (Paul Michali)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130429/31efa015/attachment.pgp>


More information about the OpenStack-dev mailing list