Skip to content

Commit 8ff2763

Browse files
authored
Merge pull request #437 from bnavigator/readme-pytest
Update unit testing references
2 parents 2d61988 + 9286831 commit 8ff2763

File tree

3 files changed

+11
-397
lines changed

3 files changed

+11
-397
lines changed

README.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,16 @@ You can check out the latest version of the source code with the command::
9999
Testing
100100
-------
101101

102-
You can run a set of unit tests to make sure that everything is working
103-
correctly. After installation, run::
102+
You can run the unit tests with `pytest`_ to make sure that everything is
103+
working correctly. Inside the source directory, run::
104104

105-
python setup.py test
105+
pytest -v
106+
107+
or to test the installed package::
108+
109+
pytest --pyargs control -v
110+
111+
.. _pytest: https://docs.pytest.org/
106112

107113
License
108114
-------

0 commit comments

Comments
 (0)