My favorites | Sign in
Project Home Wiki Issues Source
Project Information
Members
Links
  • External links
  • Nose

Nose gives you nicer testing for Python. Unfortunately, its output is ascetic. This plugin also shows notifications about the test results with big icons.

The plugin uses the utility notify-send and the icons dialog-ok and dialog-error.

Install

hg clone https://nose-gnome-notify.googlecode.com/hg/ ngn
cd ngn
sudo python setup.py install

Basic usage

nosetests --with-nosegnomenotify

Advanced usage

This plugin really shines if you combine it with Bruno Bord’s Test Daemon. It brings simple continuous testing to Python by rerunning tests every time you change something. Nose-Gnome-Notify makes the results of these repeated runs easier to recognize and more pleasant visually.

tdaemon.py --custom-args "--with-nosegnomenotify"

I like to alias it:

alias run.tests.continuously='tdaemon.py --custom-args "--with-nosegnomenotify"'
run.tests.continuously

Acknowledgements

Thanks to Patrice Neff for an idea how to do continuous testing with Python.

Powered by Google Project Hosting