nose-exclude is a Nose plugin that allows you to easily specify directories to be excluded from testing.
Exclude Directories
The –exclude-dir= option is made available after installation of the plugin. The option may be used multiple times to exclude multiple directories from testing. The directory paths provided may be absolute or relative.
Example:
$ nosetests –exclude-dir=test_dirs/build
–exclude-dir=test_dirs/test_not_me test_dirs
….
Ran 4 tests in 0.006s
OK