Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
nosealert
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.rst
setup.py
tox.ini
watch-tests.sh

README.rst

nose-alert

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.

Something went wrong with that request. Please try again.