Skip to main content

Simple CLI to run testtools tests

Project description

=====
ttrun
=====

Simple CLI to run testtools tests

In a testrepository based workflow, sometimes you want/need to run individual
tests outside of the construct of testtools. 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


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page