Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a typo in the help for --cover-min-percentage.

Regenerate the man page too.
  • Loading branch information...
commit c9f007b4ef1956863bc3f4a9e9ad55cff4b05832 1 parent e9912c2
@jszakmeister jszakmeister authored
Showing with 14 additions and 4 deletions.
  1. +1 −1  nose/plugins/cover.py
  2. +13 −3 nosetests.1
View
2  nose/plugins/cover.py
@@ -56,7 +56,7 @@ def options(self, parser, env):
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",
View
16 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
Please sign in to comment.
Something went wrong with that request. Please try again.