diff options
author | Michael Dunn <mike@eikonomega.com> | 2014-01-15 10:14:35 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2014-01-31 04:58:03 -0500 |
commit | 4b57ca578c745e5b4bcdfbb934c57305e6f9d573 (patch) | |
tree | 9c4b7398863b0340b40e5d852febd68e4da4d37b | |
parent | 02399d7b63320da13ac11416cb18cc2f3104abb9 (diff) | |
download | nose-4b57ca578c745e5b4bcdfbb934c57305e6f9d573.tar.gz |
Add note about tests being ignored from +x files.
I've had this problem numerous times and I know others have too. While the documentation does mention this under the --exe flag, it makes sense to put it here since this is where people are going to look first when they run into issues.
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | nose/usage.txt | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -52,6 +52,8 @@ In Development Patch by Ian Wienand. - Fix #759: Test failures with Python 3.4 Patch by Barry Warsaw. +- Add a note about executable files in the usage, and how to workaround it + Patch by Michael Dunn. 1.3.0 diff --git a/nose/usage.txt b/nose/usage.txt index 21ef5ce..bc96894 100644 --- a/nose/usage.txt +++ b/nose/usage.txt @@ -17,6 +17,11 @@ 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. +**It is important to note that the default behavior of nose is to +not include tests from files which are executable.** To include +tests from such files, remove their executable bit or use +the --exe flag (see 'Options' section below). + Selecting Tests --------------- |