changeset 4927:f879e7ea1c4b

docs/contributing: explicitly mention some useful options to nosetests
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Tue, 17 Mar 2015 20:53:50 +0100
parents ef63850d1144
children b08aab61c41d
files docs/contributing.rst
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docs/contributing.rst	Tue Mar 17 20:50:58 2015 +0100
+++ b/docs/contributing.rst	Tue Mar 17 20:53:50 2015 +0100
@@ -61,7 +61,13 @@
     kill -9 $(cat test.pid)
 
 You can run individual tests by specifying their path as argument to nosetests.
-nosetests also has many more options, see `nosetests -h`.
+nosetests also has many more options, see `nosetests -h`. Some useful options
+are::
+
+    -x, --stop            Stop running tests after the first error or failure
+    -s, --nocapture       Don't capture stdout (any stdout output will be
+                          printed immediately) [NOSE_NOCAPTURE]
+    --failed              Run the tests that failed in the last test run.
 
 Coding/contribution guidelines
 ------------------------------