Skip to content

Commit cc6610e

Browse files
committed
Detail test-installed.py
[CI skip]
1 parent 6eb00f6 commit cc6610e

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

Tests/README.rst

+18-4
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,32 @@ Install::
1414
Execution
1515
---------
1616

17-
Run the tests from the root of the Pillow source distribution::
17+
**If Pillow has been built in-place**
1818

19-
nosetests Tests/test_*.py
19+
To run an individual test::
20+
21+
python Tests/test_image.py
22+
23+
Run all the tests from the root of the Pillow source distribution::
24+
25+
nosetests -vx Tests/test_*.py
2026

2127
Or with coverage::
2228

23-
coverage run --append --include=PIL/* -m nose Tests/test_*.py
29+
coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py
2430
coverage report
2531
coverage html
2632
open htmlcov/index.html
2733

34+
**If Pillow has been installed**
35+
2836
To run an individual test::
2937

30-
python Tests/test_image.py
38+
./test-installed.py Tests/test_image.py
39+
40+
Run all the tests from the root of the Pillow source distribution::
41+
42+
./test-installed.py
43+
44+
3145

0 commit comments

Comments
 (0)