Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 1.49 KB

README.rst

File metadata and controls

69 lines (41 loc) · 1.49 KB

pytest-notifier

Latest PyPI version

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.