diff options
author | Monty Taylor <mordred@inaugust.com> | 2016-10-13 11:04:12 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2016-10-13 11:25:33 -0500 |
commit | 968571920b33dc4b5190581abe6140945b49da6d (patch) | |
tree | 6f07526ff224ec5bc7afbc90dfd92ed0780d0dee /README.rst | |
parent | 644d93f4d632c302cc8cd8ef5c465acfa4e478d5 (diff) |
A few structural cleanups
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 36 |
1 files changed, 24 insertions, 12 deletions
@@ -1,19 +1,31 @@ | |||
1 | =============================== | 1 | ===== |
2 | ttrun | 2 | ttrun |
3 | =============================== | 3 | ===== |
4 | 4 | ||
5 | Simple CLI to run testtools tests | 5 | Simple CLI to run testtools tests |
6 | 6 | ||
7 | Please fill here a long description which must be at least 3 lines wrapped on | 7 | In a testrepository based workflow, sometimes you want/need to run individual |
8 | 80 cols, so that distribution package maintainers can use it in their packages. | 8 | tests outside of the construct of testtools. Additionally, someitmes you want |
9 | Note that this is a hard requirement. | 9 | to use a pre-existing tox virtualenv to do so. Or, at least, I do. |
10 | 10 | ||
11 | * Free software: Apache license | 11 | Typing: |
12 | * Documentation: http://docs.openstack.org/developer/ttrun | 12 | :: |
13 | * Source: http://git.openstack.org/cgit/openstack/ttrun | ||
14 | * Bugs: http://bugs.launchpad.net/ttrun | ||
15 | 13 | ||
16 | Features | 14 | .tox/py27/bin/python -m testtools.run some.test |
17 | -------- | ||
18 | 15 | ||
19 | * TODO | 16 | Got boring. So this is a simple wrapper. |
17 | |||
18 | It has two modes: | ||
19 | :: | ||
20 | |||
21 | ttrun some.test | ||
22 | |||
23 | Will run that test with the system python. | ||
24 | |||
25 | If you want to re-use a tox virtualenv: | ||
26 | :: | ||
27 | ttrun -epy27 some.test | ||
28 | |||
29 | Will run some.test in the given tox venv. | ||
30 | |||
31 | Both modes can be run with no parameters to have testtools run all the tests. | ||