Jason Meridth

I am a continuously learning senior full stack SDE/SRE trying to not let best be the enemy of better.

How to Run a Single Test With Tox

07 Mar 2014 » » python, testing, cli

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.