pytest-osxnotify

OS X notifications for py.test results.


Keywords
pytest, pytest-, osx, notifications, mountainlion, notificationcenter, py, test
License
Other
Install
pip install pytest-osxnotify==0.1.7

Documentation

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