A simple nose plugin that allows for excluding directories and files from test discovery by path or glob pattern. Inspired by nose-exclude.
$ pip install nose-pattern-exclude
$ nosetest \
--exclude-path=./stuff \
--exclude-path=/code/morestuff.py \
--exclude-path=app/api/v?/*/tests.py