Monty Taylor 230bd88928 Import testtools.run more explicitly
It seems that testtools does not import the run module into the root
module namespace anymore. No worries, we can import testttols.run
directly and all is well.

Change-Id: Icba9253c1d29894cd5e53366ab619458c1a25f5e
2024-06-27 13:43:33 -07:00
2024-06-02 15:39:00 -07:00
2024-06-02 15:39:00 -07:00
2024-06-02 15:39:00 -07:00
2024-06-02 15:39:00 -07:00
2016-10-13 11:25:33 -05:00
2016-10-13 10:39:41 -05:00
2024-06-02 15:39:00 -07:00
2024-06-02 15:39:05 -07:00
2016-11-05 10:05:53 -05:00
2024-06-02 15:39:00 -07:00
2024-06-02 15:39:00 -07:00

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 or nox virtualenv to do so. Or, at least, I do.

Typing

.nox/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 nox virtualenv.

ttrun -epy27 some.test

Will run some.test in the given nox venv.

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

Description
A simple tool for running testtools tests
Readme 132 KiB
Languages
Python 100%