bobber6467 / python-nose

Automatically exported from code.google.com/p/python-nose
0 stars 0 forks source link

-e=foo does not work; -e (space) foo does, --exclude=foo does #464

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create tests.py in subdirectory "skipthisdirectory"
2. in tests.py, import unittests and make a single-test TestCase subclass
3. nosetests -e='skipthisdirectory'
(from skipthisdirectory's parent directory)

What is the expected output? What do you see instead?
I expect it to skip the test in skipthisdirectory.
Instead, it runs it.

What version of the product are you using? On what operating system?
nosetests version 1.1.2
ubuntu 10.4
x86_64

Please provide any additional information below.

The man page explicitly says -e=REGEX works.  This may be a problem
for -i=REGEX as well.  Even a man page fix would be fine; the main
problem is that the man page and the code disagree.

Original issue reported on code.google.com by gp...@tiac.net on 25 Oct 2011 at 6:20