A nose plugin showing success/failure status notification.
A Nose plugin that displays success/failure notification once tests are done.
pip install nose-alert
How to use
In order to use this plugin use the --with-alert switch:
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.
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!).
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.
In order to start tests run at project root:
Thanks to Pascal Hartig, author of nose-notify for the inspiration. I have even bluntly used images from his package.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.