Update README formatting and make wheels universal
This commit is contained in:
parent
9b92de5f0f
commit
2757b2848f
22
README.rst
22
README.rst
@ -4,26 +4,30 @@ ttrun
|
|||||||
|
|
||||||
Simple CLI to run testtools tests
|
Simple CLI to run testtools tests
|
||||||
|
|
||||||
In a testrepository based workflow, sometimes you want/need to run individual
|
In a `testrepository` based workflow, sometimes you want/need to run individual
|
||||||
tests outside of the construct of testtools. Additionally, someitmes you want
|
tests. Additionally, someitmes you want to use a pre-existing tox virtualenv
|
||||||
to use a pre-existing tox virtualenv to do so. Or, at least, I do.
|
to do so. Or, at least, I do.
|
||||||
|
|
||||||
Typing:
|
Typing
|
||||||
::
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
.tox/py27/bin/python -m testtools.run some.test
|
.tox/py27/bin/python -m testtools.run some.test
|
||||||
|
|
||||||
Got boring. So this is a simple wrapper.
|
Got boring. So this is a simple wrapper.
|
||||||
|
|
||||||
It has two modes:
|
It has two modes.
|
||||||
::
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
ttrun some.test
|
ttrun some.test
|
||||||
|
|
||||||
Will run that test with the system python.
|
Will run that test with the system python.
|
||||||
|
|
||||||
If you want to re-use a tox virtualenv:
|
If you want to re-use a tox virtualenv.
|
||||||
::
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
ttrun -epy27 some.test
|
ttrun -epy27 some.test
|
||||||
|
|
||||||
Will run some.test in the given tox venv.
|
Will run some.test in the given tox venv.
|
||||||
|
Loading…
Reference in New Issue
Block a user