summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-02-19 06:46:31 -0500
committerJohn Szakmeister <john@szakmeister.net>2014-02-19 06:46:31 -0500
commitc9f007b4ef1956863bc3f4a9e9ad55cff4b05832 (patch)
tree39d057033f50ab8729a231e954cea7b78d6f214d
parente9912c2a6ca414c7cf39d4e38bdfe9bdfe29ea8f (diff)
downloadnose-c9f007b4ef1956863bc3f4a9e9ad55cff4b05832.tar.gz
Fix a typo in the help for --cover-min-percentage.
Regenerate the man page too.
-rw-r--r--nose/plugins/cover.py2
-rw-r--r--nosetests.116
2 files changed, 14 insertions, 4 deletions
diff --git a/nose/plugins/cover.py b/nose/plugins/cover.py
index 364d252..551f332 100644
--- a/nose/plugins/cover.py
+++ b/nose/plugins/cover.py
@@ -56,7 +56,7 @@ class Coverage(Plugin):
parser.add_option("--cover-min-percentage", action="store",
dest="cover_min_percentage",
default=env.get('NOSE_COVER_MIN_PERCENTAGE'),
- help="Minimum percentage of coverage for tests"
+ help="Minimum percentage of coverage for tests "
"to pass [NOSE_COVER_MIN_PERCENTAGE]")
parser.add_option("--cover-inclusive", action="store_true",
dest="cover_inclusive",
diff --git a/nosetests.1 b/nosetests.1
index df6d499..ab3f953 100644
--- a/nosetests.1
+++ b/nosetests.1
@@ -1,4 +1,4 @@
-.TH "NOSETESTS" "1" "April 06, 2013" "1.3" "nose"
+.TH "NOSETESTS" "1" "February 19, 2014" "1.3" "nose"
.SH NAME
nosetests \- Nicer testing for Python
.
@@ -57,6 +57,11 @@ subclasses with any name will be loaded and executed as tests. Tests
may use the assert keyword or raise AssertionErrors to indicate test
failure. TestCase subclasses may do the same or use the various
TestCase methods available.
+.sp
+\fBIt is important to note that the default behavior of nose is to
+not include tests from files which are executable.\fP To include
+tests from such files, remove their executable bit or use
+the \-\-exe flag (see \(aqOptions\(aq section below).
.SS Selecting Tests
.sp
To specify which tests to run, pass test names on the command line:
@@ -379,7 +384,7 @@ Include test modules in coverage report [NOSE_COVER_TESTS]
.INDENT 0.0
.TP
.B \-\-cover\-min\-percentage=DEFAULT
-Minimum percentage of coverage for teststo pass [NOSE_COVER_MIN_PERCENTAGE]
+Minimum percentage of coverage for tests to pass [NOSE_COVER_MIN_PERCENTAGE]
.UNINDENT
.INDENT 0.0
.TP
@@ -414,7 +419,7 @@ Produce XML coverage information in file
.INDENT 0.0
.TP
.B \-\-pdb
-Drop into debugger on errors
+Drop into debugger on failures or errors
.UNINDENT
.INDENT 0.0
.TP
@@ -423,6 +428,11 @@ Drop into debugger on failures
.UNINDENT
.INDENT 0.0
.TP
+.B \-\-pdb\-errors
+Drop into debugger on errors
+.UNINDENT
+.INDENT 0.0
+.TP
.B \-\-no\-deprecated
Disable special handling of DeprecatedTest exceptions.
.UNINDENT