summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Matusiak <numerodix@gmail.com>2021-05-05 10:32:54 +1000
committerMartin Matusiak <numerodix@gmail.com>2021-05-05 10:32:54 +1000
commit101e15cab7990615ab6c9d6f37431f03bd8ffdbb (patch)
tree25cb9a99f09a76587f501625db7704176e507e9e
parent92f3ea1ac4d1f98d241c87ecb24d944f65eae06e (diff)
downloadansicolor-101e15cab7990615ab6c9d6f37431f03bd8ffdbb.tar.gz
add readme steps for maintainers (3)
-rw-r--r--README.rst22
1 files changed, 19 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 728132c..998136e 100644
--- a/README.rst
+++ b/README.rst
@@ -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