mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Update test instructions
This commit is contained in:
parent
19bc6f0b96
commit
20d00c5fe9
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user