JM (Jason Meridth)

JM (Jason Meridth)

Learn, Converse, Share

07 Mar 2014

How to Run a Single Test With Tox

I have to run a single python test once in a while and keep forgetting how to do it with Tox.

Here it is:

tox -e py27 -- project_name_here/tests/folder_name1_here/folder_name2_here/test_file_name_here.py:TestClassName.test_method_name

Hope this helps someone else.

Happy bit twiddling.