diff --git a/README.txt b/README.txt index a8cc9615..c7d6624a 100644 --- a/README.txt +++ b/README.txt @@ -51,8 +51,8 @@ nose collects tests automatically from python source files, directories and packages found in its working directory (which defaults to the current working directory). Any python source file, directory or package that matches the testMatch regular expression (by -default: *(?:^|[b_.-])[Tt]est)* will be collected as a test (or source -for collection of tests). In addition, all other packages found in the +default: *(?:\b|_)[Tt]est* will be collected as a test (or source for +collection of tests). In addition, all other packages found in the working directory will be examined for python source files or directories that match testMatch. Package discovery descends all the way down the tree, so package.tests and package.sub.tests and diff --git a/nose/usage.txt b/nose/usage.txt index bc96894a..5e1d9145 100644 --- a/nose/usage.txt +++ b/nose/usage.txt @@ -2,7 +2,7 @@ nose collects tests automatically from python source files, directories and packages found in its working directory (which defaults to the current working directory). Any python source file, directory or package that matches the testMatch regular expression -(by default: `(?:^|[\b_\.-])[Tt]est)` will be collected as a test (or +(by default: `(?:\\b|_)[Tt]est` will be collected as a test (or source for collection of tests). In addition, all other packages found in the working directory will be examined for python source files or directories that match testMatch. Package discovery descends all diff --git a/nosetests.1 b/nosetests.1 index 57728456..f1a0c44c 100644 --- a/nosetests.1 +++ b/nosetests.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "NOSETESTS" "1" "April 04, 2015" "1.3" "nose" +.TH "NOSETESTS" "1" "November 11, 2015" "1.3" "nose" .SH NAME nosetests \- Nicer testing for Python . @@ -43,7 +43,7 @@ nose collects tests automatically from python source files, directories and packages found in its working directory (which defaults to the current working directory). Any python source file, directory or package that matches the testMatch regular expression -(by default: \fI(?:^|[b_.\-])[Tt]est)\fP will be collected as a test (or +(by default: \fI(?:\eb|_)[Tt]est\fP will be collected as a test (or source for collection of tests). In addition, all other packages found in the working directory will be examined for python source files or directories that match testMatch. Package discovery descends all