Skip to main content

Simple CLI to run testtools tests

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ttrun, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size ttrun-1.0.5-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size ttrun-1.0.5.tar.gz (16.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page