Skip to main content

A pytest plugin to notify test result

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-notifier-1.0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

pytest_notifier-1.0.1-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page