nose-devs/nose — Issue #116: __test__ = False in a package init should disable tests for that package
Author: jpellerin
Created: 2011-12-14 15:59:47+00:00
State: open

If I have a packages

foo
bar
baz
tests

and I run nosetests in foo, I believe I should be about to set __test__ = False in foo.baz.__init__ in order to skip any tests in subtree at baz.

I know that I may be able to use --exclude. However, I am trying to publish a package that is part of a larger library. I would like other library testers to be able to just "point nosetest at the tree" and have it work.

(Alternately, a .noserc in a particular module to give settings for that subtree would be nice.)

It is not clear that this wouldn't work from the current docs, but this is mostly an enhancement proposal.

Thanks! -- shaunc

Google Code Info:
Issue #: 367
Author: sha...@factfiber.com
Created On: 2010-09-24T05:51:24.000Z
Closed On: