A pytest plugin to notify test result on Linux and OS X.
Requirements
Linux
Make sure notify-send is exists in $PATH, which comes from libnotify.
OS X
OS X 10.8 and higher is required.
Optionally, you could install terminal-notifier to avoid Script Editor being opened when notification icon is clicked.
Installation
You can install pytest-notifier via pip from PyPI:
$ pip install pytest-notifier
Usage
Once installed, notification will be shown after each test run.
By using with pytest-watch, you can get continous feedback during development:
$ ptw
You can use --notifier-off flag to disable notification:
$ pytest --notifier-off
Licence
Distributed under the terms of the MIT license, pytest-notifier is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Release files for pytest-notifier 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-notifier-1.0.4.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_notifier-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / pytest-notifier-1.0.4.tar.gz
| Download URL | pytest-notifier-1.0.4.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64eefeb6b505c63fe68c80d80f40530eeaf568598a1a0429148732ee77a4e956
|
|
BLAKE2b-256 checksum How to use checksums |
9eb9d47735aa3fafe0ddb44ba611c04acb4751dfea6b3d8eadf5ecd86d2b8faf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
|
Release files / pytest_notifier-1.0.4-py3-none-any.whl
| Download URL | pytest_notifier-1.0.4-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da686c37bce7a7792854aa2049b4c06c5923833fbe1a22b2fa5f50114dbbcd20
|
|
BLAKE2b-256 checksum How to use checksums |
b009cc15c9bc7fe630114830b9eb250aa07145bc1b0ab566d915b747054ba26b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
|