[TIP] Running a single test with tox
Aaron Whitehouse
lists at whitehouse.kiwi.nz
Fri Jul 31 07:51:40 PDT 2015
Hello,
On 30/07/15 16:46, Florian Bruhin wrote:
> It seems duplicity's doesn't do that:
> http://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/view/head:/tox.ini
>
> The command line should probably be something like this instead:
>
> {envpython} ./setup.py test {posargs}
>
> Florian
>
That was extremely helpful, thanks Florian!
I can now run individual tests against both Python versions:
$ tox -- -s testing.unit.test_selection.MatchingTest.test_tuple_include
[...]
___________________________________ summary
____________________________________
py26: commands succeeded
py27: commands succeeded
congratulations :)
Kind regards,
Aaron
More information about the testing-in-python
mailing list