summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2015-11-28 07:40:57 -0500
committerJohn Szakmeister <john@szakmeister.net>2015-11-28 07:40:57 -0500
commit77cd145afe2606ba9c0515be0e8c49f8319e19ef (patch)
treea69eb24e2fcfbe137345fd6203091774cf2864ec
parent729c99a68f63b09e3ea05ba9f0c1ce6d51d70018 (diff)
downloadnose-77cd145afe2606ba9c0515be0e8c49f8319e19ef.tar.gz
doc: add a note about nose skipping files marked executable
-rw-r--r--doc/finding_tests.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/finding_tests.rst b/doc/finding_tests.rst
index 5f9cb74..a58e4a4 100644
--- a/doc/finding_tests.rst
+++ b/doc/finding_tests.rst
@@ -8,7 +8,12 @@ nose, by default, follows a few simple rules for test discovery.
expression, and those that match are considered tests. Any class that is a
`unittest.TestCase` subclass is also collected, so long as it is inside of a
module that looks like a test.
-
+
+* Files with the executable bit set are ignored by default under Unix-style
+ operating systems--sse ``--exe`` to allow collection from them, but be careful
+ that is safe to do so. Under Windows, executable files will be picked up by
+ default since there is no executable bit to test.
+
* Directories that don't look like tests and aren't packages are not
inspected.
@@ -29,4 +34,4 @@ nose, by default, follows a few simple rules for test discovery.
True, that object will not be collected, nor will any objects it
contains.
-Be aware that plugins and command line options can change any of those rules. \ No newline at end of file
+Be aware that plugins and command line options can change any of those rules.