summaryrefslogtreecommitdiff
path: root/doc/finding_tests.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/finding_tests.rst')
-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.