summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2016-10-13 11:50:15 -0500
committerMonty Taylor <mordred@inaugust.com>2016-10-13 11:50:15 -0500
commit2757b2848f58c383db69872cc223d98566c46e88 (patch)
treebb71b4356fbd195c827f8af7e0220fe3cbbcd37a /README.rst
parent9b92de5f0f6564def0824328bd82b6269d0fbef7 (diff)
Update README formatting and make wheels universal1.0.3
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst22
1 files changed, 13 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.