A py.test plugin that displays test results as OS X notifications
Python
Latest commit bbfed78 Jan 10, 2016 @dbader Merge pull request #11 from Newman101/Issue2
Fixed Issue #2

README.md

pytest-osxnotify

PyPI PyPI
Demo

A py.test plugin that displays test results using native Mac OS X notifications (NSUserNotification). Works with Python 2.7 and 3.3+ on Mountain Lion or better.

Usage

$ pip install pytest-osxnotify
$ py.test

How to test a change to the plugin

$ virtualenv venv && . venv/bin/activate
$ pip install pytest -r requirements.txt
$ python setup.py install
$ venv/bin/py.test --traceconfig example_test.py -p pytest_osxnotify

How to submit a new release to PyPi

$ git tag X.Y.Z -m "Release X.Y.Z"
$ git push --tags
$ python setup.py sdist upload -r pypi

Changelog

  • 0.1.7
    • Tweaked the notification delay to ensure that success/error messages are displayed.

Meta

Daniel Bader – @dbader_orgmail@dbader.org

Distributed under the MIT license. See LICENSE for more information.

https://github.com/dbader/pytest-osxnotify