Skip to main content

A nose plugin that re-runs test suite on filesystem event.

Project description

https://secure.travis-ci.org/lukaszb/nose-watch.png?branch=master

A Nose plugin that allows to run tests continuously (uses watchdog for listening to filesystem events).

Installation

Usual thing:

pip install nose-watch

How to use

In order to use this plugin use the --with-watch switch:

nosetests --with-watch

You can pass any other options/arguments, tests should be run normally but process would stay there and watch for changes on *.py files. Every change should re-run tests.

Development

We use tox for tests. Repository is at https://github.com/lukaszb/nose-watch/. We prefer pull requests for sending patches.

To test the package you can simply run:

nosetests

Note

Please do not use the plugin itself (–with-watch) to test the plugin as it would be picked by nose before the one from repository. If you want to watch for changes please use provided watch-tests.sh script.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
nose-watch-0.9.2.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Jun 8, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page