Skip to main content

A nose plugin to watch for changes within the local directory.

Project description

Latest Version https://pypip.in/d/nose-watcher/badge.png Wheel Status https://travis-ci.org/solarnz/nose-watcher.png?branch=develop https://coveralls.io/repos/solarnz/nose-watcher/badge.png?branch=develop License

A nose plugin to watch for changes within the local directory.

Inspired by the nose-watch nose plugin.

Note: nose-watcher will only run on linux, due to the depenency on python-inotify and inotify.

Features

  • Watches for changes in the local directory, then runs nosetests with the specified command line options.

  • Doesn’t run the tests multiple times if you’re using vim, Unlike the similar plugin nose-watch.

  • Specify additional filetypes to watch using the command line argument –filetype.

Installation

pip install nose-watcher

Usage

nosetests --with-watcher

nosetests --with-watcher --filetype .txt

Additional Contributors

History

0.1.2 (2014-06-09)

  • Handle KeyboardInterrupts while watching for changes.

0.1.1 (2014-06-08)

  • Improve documentation

  • Improve unit tests

0.1.0 (2014-06-08)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nose-watcher-0.1.3.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

nose_watcher-0.1.3-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nose-watcher-0.1.3.tar.gz.

File metadata

File hashes

Hashes for nose-watcher-0.1.3.tar.gz
Algorithm Hash digest
SHA256 885ddb62e775aba5e9627627a1fa32f18eecf03e95d7beaad3ede5e7b311453f
MD5 b31053a181330961eb1a0f3a863ada29
BLAKE2b-256 40f981eef2daeb3cae48fc13d2ad8c77b0ff57c783a678f9134de969ecf03a29

See more details on using hashes here.

File details

Details for the file nose_watcher-0.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nose_watcher-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fff9f12417e562f38fe39aacb97e49f557d92d00edda62ef1beb7382e9758d77
MD5 b0270896e4f5a0bd7729fef8d1eae511
BLAKE2b-256 6abbeabc2b5e76f235485bf2a149cb5190e1ac7e07fc730c226f08fe37fe23ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page