A pytest plugin to notify test result
Project description
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.
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
Built Distribution
File details
Details for the file pytest-notifier-1.0.4.tar.gz
.
File metadata
- Download URL: pytest-notifier-1.0.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64eefeb6b505c63fe68c80d80f40530eeaf568598a1a0429148732ee77a4e956 |
|
MD5 | 26d6e4539e385b19426e3a2a6b751308 |
|
BLAKE2b-256 | 9eb9d47735aa3fafe0ddb44ba611c04acb4751dfea6b3d8eadf5ecd86d2b8faf |
File details
Details for the file pytest_notifier-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: pytest_notifier-1.0.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da686c37bce7a7792854aa2049b4c06c5923833fbe1a22b2fa5f50114dbbcd20 |
|
MD5 | a1aca70f7460b8ddbb57f9c19ee4d417 |
|
BLAKE2b-256 | b009cc15c9bc7fe630114830b9eb250aa07145bc1b0ab566d915b747054ba26b |