Skip to content

Commit e32ce06

Browse files
committed
README: Using tox to run unit tests
1 parent 2fb8f26 commit e32ce06

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,14 @@ Running tests locally
6262

6363
- Running basic tests ``(/tests)``:
6464

65-
.. code:: bash
66-
67-
python setup.py test
65+
We use `tox<https://github.com/common-workflow-language/cwltool/tree/master/tox.ini>`_ to run various tests in all supported Python environments.
66+
You can run the test suite by simply running the following in the terminal:
67+
``pip install tox; tox``
68+
69+
List of all environment can be seen using:
70+
``tox --listenvs``
71+
and running a specfic test env using:
72+
``tox -e <env name>``
6873

6974
- Running the entire suite of CWL conformance tests:
7075

0 commit comments

Comments
 (0)