summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Allgaier <mail@spacegaier.de>2022-04-03 12:07:36 +0200
committerGitHub <noreply@github.com>2022-04-03 12:07:36 +0200
commitb4584ee4c20821e02b61e09b74d1044a2d3b0c6a (patch)
tree918b5bd418dd96992c83acc00a27b8903c12d925
parent6003cb30c520e650976ea5b936d04494b50d7849 (diff)
downloadvoluptuous-b4584ee4c20821e02b61e09b74d1044a2d3b0c6a.tar.gz
Extend README to include coverage run commands + unpin `setupstools` (#465)
-rw-r--r--README.md9
-rw-r--r--tox.ini1
2 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 21a4a61..e7cec85 100644
--- a/README.md
+++ b/README.md
@@ -715,10 +715,15 @@ s({'password':'123', 'password_again': 1337})
## Running tests
-Voluptuous is using pytest:
+Voluptuous is using `pytest`:
- $ pytest
+ pip install pytest
+ pytest
+To also include a coverage report:
+
+ pip install pytest pytest-cov coverage>=3.0
+ pytest --cov=voluptuous voluptuous/tests/
## Other libraries and inspirations
diff --git a/tox.ini b/tox.ini
index 683c5b7..e09e222 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,6 @@ exclude = .tox,.venv,build,*.egg
[testenv]
distribute = True
sitepackages = False
-setuptools_version = setuptools<58.0
deps =
pytest
pytest-cov