diff options
author | Monty Taylor <mordred@inaugust.com> | 2016-10-13 11:50:15 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2016-10-13 11:50:15 -0500 |
commit | 2757b2848f58c383db69872cc223d98566c46e88 (patch) | |
tree | bb71b4356fbd195c827f8af7e0220fe3cbbcd37a | |
parent | 9b92de5f0f6564def0824328bd82b6269d0fbef7 (diff) |
Update README formatting and make wheels universal1.0.3
-rw-r--r-- | README.rst | 22 | ||||
-rw-r--r-- | setup.cfg | 3 |
2 files changed, 16 insertions, 9 deletions
@@ -4,26 +4,30 @@ ttrun | |||
4 | 4 | ||
5 | Simple CLI to run testtools tests | 5 | Simple CLI to run testtools tests |
6 | 6 | ||
7 | In a testrepository based workflow, sometimes you want/need to run individual | 7 | In a `testrepository` based workflow, sometimes you want/need to run individual |
8 | tests outside of the construct of testtools. Additionally, someitmes you want | 8 | tests. Additionally, someitmes you want to use a pre-existing tox virtualenv |
9 | to use a pre-existing tox virtualenv to do so. Or, at least, I do. | 9 | to do so. Or, at least, I do. |
10 | 10 | ||
11 | Typing: | 11 | Typing |
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 | ||
16 | Got boring. So this is a simple wrapper. | 17 | Got boring. So this is a simple wrapper. |
17 | 18 | ||
18 | It has two modes: | 19 | It has two modes. |
19 | :: | 20 | |
21 | .. code-block:: bash | ||
20 | 22 | ||
21 | ttrun some.test | 23 | ttrun some.test |
22 | 24 | ||
23 | Will run that test with the system python. | 25 | Will run that test with the system python. |
24 | 26 | ||
25 | If you want to re-use a tox virtualenv: | 27 | If 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 | ||
29 | Will run some.test in the given tox venv. | 33 | Will run some.test in the given tox venv. |
@@ -24,3 +24,6 @@ packages = | |||
24 | [entry_points] | 24 | [entry_points] |
25 | console_scripts = | 25 | console_scripts = |
26 | ttrun = ttrun.cmd:main | 26 | ttrun = ttrun.cmd:main |
27 | |||
28 | [wheel] | ||
29 | universal = 1 | ||