A pytest plugin to notify test result on Linux and OS X.
Make sure notify-send
is exists in $PATH
,
which comes from libnotify
.
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.
You can install pytest-notifier
via pip from PyPI:
$ pip install pytest-notifier
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
Distributed under the terms of the MIT license, pytest-notifier
is free and open source software
If you encounter any problems, please file an issue along with a detailed description.