Skip to main content

A nose plugin showing success/failure status notification.

Project description

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

A Nose plugin that displays success/failure notification once tests are done.

Installation

Usual thing:

pip install nose-alert

How to use

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

nosetests --with-alert

If you use watchdog you can also run at your project’s root directory:

watchmedo shell-command -R -p "*.py" -c "nosetests --with-alert" .

This would call nose on file changes within your project.

Supported platforms

Currently this plugin supports only growl on OS X. We are going to add support for Linux based notifications in future (pull requests are welcome!).

Plans

Short plan is to provide a nose plugin that can show OS level notification at tests end. Long plan, however, is to support main platforms (OS X, Linux, Windows), eventually extract library for OS-independant notifications to external package.

We also will try to support Python 3, this however could be somewhat problematic - i.e. gntp doesn’t support Python 3 yet.

Development

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

In order to start tests run at project root:

$ nosetests

Thanks

Thanks to Pascal Hartig, author of nose-notify for the inspiration. I have even bluntly used images from his package.

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-alert-0.9.1.tar.gz (8.3 kB view hashes)

Uploaded Source

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