nose-exclude

Exclude specific directories from nosetests runs
Download

nose-exclude Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Kurt Grandis
  • Publisher web site:
  • http://kurtgrandis.com/blog

nose-exclude Tags


nose-exclude Description

Exclude specific directories from nosetests runs nose-exclude is a Nose plugin that allows you to easily specify directories to be excluded from testing.Exclude DirectoriesThe --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.006sOKThis example will exclude the directories test_dirs/build and test_dirs/test_not_me from nosetests' test searching.Using File-Based Exclusion ListThe --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.006sOKwhere exclude_dirs.txt might look like:test_dirs/buildtest_dirs/test_not_meBugsPlease report all bugs (and patches) to http://bitbucket.org/kgrandis/nose-exclude/ Requirements: · Python · nose


nose-exclude Related Software