From cc6610e4f3fae0e4954238b54bbf263c83c78f10 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 12 Aug 2014 16:37:49 +0300 Subject: [PATCH] Detail test-installed.py [CI skip] --- Tests/README.rst | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/Tests/README.rst b/Tests/README.rst index 58c1efb9f..1b11a45b1 100644 --- a/Tests/README.rst +++ b/Tests/README.rst @@ -14,18 +14,32 @@ Install:: Execution --------- -Run the tests from the root of the Pillow source distribution:: - - 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 +**If Pillow has been built in-place** To run an individual test:: 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 + + +