Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.32 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.32 KB

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