Commit cc6610e 1 parent 6eb00f6 commit cc6610e Copy full SHA for cc6610e
File tree 1 file changed +18
-4
lines changed
1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,32 @@ Install::
14
14
Execution
15
15
---------
16
16
17
- Run the tests from the root of the Pillow source distribution::
17
+ ** If Pillow has been built in-place **
18
18
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
20
26
21
27
Or with coverage::
22
28
23
- coverage run --append --include=PIL/* -m nose Tests/test_*.py
29
+ coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py
24
30
coverage report
25
31
coverage html
26
32
open htmlcov/index.html
27
33
34
+ **If Pillow has been installed **
35
+
28
36
To run an individual test::
29
37
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
+
31
45
You can’t perform that action at this time.
0 commit comments