From 4b57ca578c745e5b4bcdfbb934c57305e6f9d573 Mon Sep 17 00:00:00 2001 From: Michael Dunn Date: Wed, 15 Jan 2014 10:14:35 -0500 Subject: 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. --- CHANGELOG | 2 ++ nose/usage.txt | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index ea5103e..1c0595d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 --------------- -- cgit v1.2.1