mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 11:35:52 +03:00
Detail test-installed.py
[CI skip]
This commit is contained in:
parent
6eb00f605f
commit
cc6610e4f3
|
@ -14,18 +14,32 @@ Install::
|
||||||
Execution
|
Execution
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Run the tests from the root of the Pillow source distribution::
|
**If Pillow has been built in-place**
|
||||||
|
|
||||||
nosetests Tests/test_*.py
|
|
||||||
|
|
||||||
Or with coverage::
|
|
||||||
|
|
||||||
coverage run --append --include=PIL/* -m nose Tests/test_*.py
|
|
||||||
coverage report
|
|
||||||
coverage html
|
|
||||||
open htmlcov/index.html
|
|
||||||
|
|
||||||
To run an individual test::
|
To run an individual test::
|
||||||
|
|
||||||
python Tests/test_image.py
|
python Tests/test_image.py
|
||||||
|
|
||||||
|
Run all the tests from the root of the Pillow source distribution::
|
||||||
|
|
||||||
|
nosetests -vx Tests/test_*.py
|
||||||
|
|
||||||
|
Or with coverage::
|
||||||
|
|
||||||
|
coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py
|
||||||
|
coverage report
|
||||||
|
coverage html
|
||||||
|
open htmlcov/index.html
|
||||||
|
|
||||||
|
**If Pillow has been installed**
|
||||||
|
|
||||||
|
To run an individual test::
|
||||||
|
|
||||||
|
./test-installed.py Tests/test_image.py
|
||||||
|
|
||||||
|
Run all the tests from the root of the Pillow source distribution::
|
||||||
|
|
||||||
|
./test-installed.py
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user