summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst22
-rw-r--r--setup.cfg3
2 files changed, 16 insertions, 9 deletions
diff --git a/README.rst b/README.rst
index abab058..7052250 100644
--- a/README.rst
+++ b/README.rst
@@ -4,26 +4,30 @@ ttrun
4 4
5Simple CLI to run testtools tests 5Simple CLI to run testtools tests
6 6
7In a testrepository based workflow, sometimes you want/need to run individual 7In a `testrepository` based workflow, sometimes you want/need to run individual
8tests outside of the construct of testtools. Additionally, someitmes you want 8tests. Additionally, someitmes you want to use a pre-existing tox virtualenv
9to use a pre-existing tox virtualenv to do so. Or, at least, I do. 9to do so. Or, at least, I do.
10 10
11Typing: 11Typing
12:: 12
13.. code-block:: bash
13 14
14 .tox/py27/bin/python -m testtools.run some.test 15 .tox/py27/bin/python -m testtools.run some.test
15 16
16Got boring. So this is a simple wrapper. 17Got boring. So this is a simple wrapper.
17 18
18It has two modes: 19It has two modes.
19:: 20
21.. code-block:: bash
20 22
21 ttrun some.test 23 ttrun some.test
22 24
23Will run that test with the system python. 25Will run that test with the system python.
24 26
25If you want to re-use a tox virtualenv: 27If you want to re-use a tox virtualenv.
26:: 28
29.. code-block:: bash
30
27 ttrun -epy27 some.test 31 ttrun -epy27 some.test
28 32
29Will run some.test in the given tox venv. 33Will run some.test in the given tox venv.
diff --git a/setup.cfg b/setup.cfg
index 8302252..f38e27f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -24,3 +24,6 @@ packages =
24[entry_points] 24[entry_points]
25console_scripts = 25console_scripts =
26 ttrun = ttrun.cmd:main 26 ttrun = ttrun.cmd:main
27
28[wheel]
29universal = 1