A nose plugin showing success/failure status notification.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file nose-alert-0.9.1.tar.gz
.
File metadata
- Download URL: nose-alert-0.9.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a7e0c959df00611c464285f3cf537a5c4a1503ea1d542087c70acaafb7bb48 |
|
MD5 | 52634af895d0f5096e4629b9e0426345 |
|
BLAKE2b-256 | d07f01c0566735172b5c2f59aa9f9af50b9a52299943dcbd1557e1acdb3fdcb7 |