Update test instructions

This commit is contained in:
hugovk 2017-11-01 23:31:24 +02:00 committed by wiredfool
parent 19bc6f0b96
commit 20d00c5fe9

View File

@ -8,7 +8,7 @@ Dependencies
Install:: Install::
pip install coverage nose pip install pytest pytest-cov
Execution Execution
--------- ---------
@ -21,12 +21,11 @@ To run an individual test::
Run all the tests from the root of the Pillow source distribution:: Run all the tests from the root of the Pillow source distribution::
nosetests -vx Tests/test_*.py pytest -vx Tests
Or with coverage:: Or with coverage::
coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py pytest -vx --cov PIL --cov-report term Tests
coverage report
coverage html coverage html
open htmlcov/index.html open htmlcov/index.html
@ -39,6 +38,3 @@ To run an individual test::
Run all the tests from the root of the Pillow source distribution:: Run all the tests from the root of the Pillow source distribution::
./test-installed.py ./test-installed.py