diff options
author | Martin Matusiak <numerodix@gmail.com> | 2021-05-05 10:32:54 +1000 |
---|---|---|
committer | Martin Matusiak <numerodix@gmail.com> | 2021-05-05 10:32:54 +1000 |
commit | 101e15cab7990615ab6c9d6f37431f03bd8ffdbb (patch) | |
tree | 25cb9a99f09a76587f501625db7704176e507e9e | |
parent | 92f3ea1ac4d1f98d241c87ecb24d944f65eae06e (diff) | |
download | ansicolor-101e15cab7990615ab6c9d6f37431f03bd8ffdbb.tar.gz |
add readme steps for maintainers (3)
-rw-r--r-- | README.rst | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -73,8 +73,8 @@ Setting up a development environment (Ubuntu) $ workon ansicolor -Running tests -^^^^^^^^^^^^^ +Running unit tests +^^^^^^^^^^^^^^^^^^ .. code:: bash @@ -88,4 +88,20 @@ Measuring code coverage $ py.test --cov=ansicolor $ coverage html - # open htmlcov/index.html in the browser
\ No newline at end of file + # open htmlcov/index.html in the browser + + +Running all possible tests under tox +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +We use `tox` to run both the unit tests and the demos under several different +Python interpreter versions. Depending on which interpreters you have installed +(this is managed system-wide and not covered in this README) `tox` will most +likely give you a partial success: + +.. code:: bash + + $ tox + + # to run it only against selected interpreters + $ tox -e py27,py38
\ No newline at end of file |