diff options
author | Philip Allgaier <mail@spacegaier.de> | 2022-04-03 12:07:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 12:07:36 +0200 |
commit | b4584ee4c20821e02b61e09b74d1044a2d3b0c6a (patch) | |
tree | 918b5bd418dd96992c83acc00a27b8903c12d925 | |
parent | 6003cb30c520e650976ea5b936d04494b50d7849 (diff) | |
download | voluptuous-b4584ee4c20821e02b61e09b74d1044a2d3b0c6a.tar.gz |
Extend README to include coverage run commands + unpin `setupstools` (#465)
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | tox.ini | 1 |
2 files changed, 7 insertions, 3 deletions
@@ -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 @@ -10,7 +10,6 @@ exclude = .tox,.venv,build,*.egg [testenv] distribute = True sitepackages = False -setuptools_version = setuptools<58.0 deps = pytest pytest-cov |