[PATCH 3 of 3] docs/contributing: explicitly mention some useful options to nosetests

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Mar 17 15:54:40 EDT 2015


# HG changeset patch
# User Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
# Date 1426622030 -3600
#      Tue Mar 17 20:53:50 2015 +0100
# Node ID 929f9f598fc914a940c9766e465f23eebc3a0e9b
# Parent  af53a31a3ae8aa3d6c01fd4c6dd33cff5feb5f0e
docs/contributing: explicitly mention some useful options to nosetests

diff --git a/docs/contributing.rst b/docs/contributing.rst
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -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
 ------------------------------


More information about the kallithea-general mailing list