nose-alert
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.
Release files for nose-alert 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nose-alert-0.9.1.tar.gz | 8.3 kB | Details |
Release files / nose-alert-0.9.1.tar.gz
| Download URL | nose-alert-0.9.1.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01a7e0c959df00611c464285f3cf537a5c4a1503ea1d542087c70acaafb7bb48
|
|
BLAKE2b-256 checksum How to use checksums |
d07f01c0566735172b5c2f59aa9f9af50b9a52299943dcbd1557e1acdb3fdcb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |