Skip to main content

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nose-exclude 0.1.4
File Size Uploaded
nose-exclude-0.1.4.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nose-exclude 0.1.4
File Interpreter ABI Platform
nose_exclude-0.1.4-py2.6.egg Legacy Egg format - - Details

Total release size: 7.2 kB

Release files / nose-exclude-0.1.4.tar.gz

Download URL nose-exclude-0.1.4.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
70a78486fb21a4b1eec6685752a207179016a73b8fd2c1c6160b03002a9439b9
BLAKE2b-256 checksum
How to use checksums
880b708b92f23cdd1ebe9c52b9caba2cbd83e9a8d0f257a3fe126b6b72d1dafc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / nose_exclude-0.1.4-py2.6.egg

Download URL nose_exclude-0.1.4-py2.6.egg
Size 4.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
5e91b4eea39741bc473e4fd57a652debbbd6988118a774663b9c957cf4f6df43
BLAKE2b-256 checksum
How to use checksums
c9ff207129bbb61d6bf5c9ba04d91404bb8868d3d9d32d05d8dd8c09e198f858
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

2 release files

This release

0.1.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page