A simple tool for running testtools tests
Go to file
Monty Taylor 3642338465
Add testtools dependency
2016-11-05 10:05:53 -05:00
ttrun Add the ttrun command 2016-10-13 11:26:17 -05:00
.gitignore Initial Cookiecutter Commit. 2016-10-13 10:39:41 -05:00
.testr.conf Initial Cookiecutter Commit. 2016-10-13 10:39:41 -05:00
CONTRIBUTING.rst Update home location to git.inaugust.com 2016-10-13 11:43:48 -05:00
HACKING.rst Initial Cookiecutter Commit. 2016-10-13 10:39:41 -05:00
LICENSE A few structural cleanups 2016-10-13 11:25:33 -05:00
MANIFEST.in Initial Cookiecutter Commit. 2016-10-13 10:39:41 -05:00
README.rst Update README formatting and make wheels universal 2016-10-13 11:50:15 -05:00
requirements.txt Add testtools dependency 2016-11-05 10:05:53 -05:00
setup.cfg Update README formatting and make wheels universal 2016-10-13 11:50:15 -05:00
setup.py Initial Cookiecutter Commit. 2016-10-13 10:39:41 -05:00
test-requirements.txt A few structural cleanups 2016-10-13 11:25:33 -05:00
tox.ini Add the ttrun command 2016-10-13 11:26:17 -05:00

README.rst

ttrun

Simple CLI to run testtools tests

In a testrepository based workflow, sometimes you want/need to run individual tests. Additionally, someitmes you want to use a pre-existing tox virtualenv to do so. Or, at least, I do.

Typing

.tox/py27/bin/python -m testtools.run some.test

Got boring. So this is a simple wrapper.

It has two modes.

ttrun some.test

Will run that test with the system python.

If you want to re-use a tox virtualenv.

ttrun -epy27 some.test

Will run some.test in the given tox venv.

Both modes can be run with no parameters to have testtools run all the tests.