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 hashes)

Uploaded source

Built Distribution

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

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page