Overview
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
This example will exclude the directories test_dirs/build and test_dirs/test_not_me from nosetests’ test searching.
Using File-Based Exclusion List
The --exclude-dir-file= option can be used to pass in a predefined list of directories contained within a file. nose-exclude expects each directory to be excluded to be on its own line.
Example:
$ nosetests --exclude-dir-file=test_dirs/exclude_dirs.txt \
test_dirs
....
----------------------------------------------------------------------
Ran 4 tests in 0.006s
OK
where exclude_dirs.txt might look like:
test_dirs/build test_dirs/test_not_me
Bugs
Please report all bugs (and patches) to http://bitbucket.org/kgrandis/nose-exclude/
Metadata
Release files for nose-exclude 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nose-exclude-0.1.5.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nose_exclude-0.1.5-py2.6.egg | Legacy Egg format | - | - | Details |
Total release size: 7.4 kB
Release files / nose-exclude-0.1.5.tar.gz
| Download URL | nose-exclude-0.1.5.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19d03de0e9b3b90ad534099e069cd1e9ecd9e954cff90f6b5b01e13428c72f43
|
|
BLAKE2b-256 checksum How to use checksums |
afd6b9ec149c7763943594fe5fce53896bc02df51f0f6f3250156241b9cc2f66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / nose_exclude-0.1.5-py2.6.egg
| Download URL | nose_exclude-0.1.5-py2.6.egg |
|---|---|
| Size | 4.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
87d090b7de7de91b58de457eb9f8db398462e390d075fb34d8b0a646a755f885
|
|
BLAKE2b-256 checksum How to use checksums |
dde9d848eb676e4e556d407b979d5e827e72bca2ed0e8268a131066932f04614
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |