|
Project Information
Members
Links
|
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. Installhg clone https://nose-gnome-notify.googlecode.com/hg/ ngn cd ngn sudo python setup.py install Basic usagenosetests --with-nosegnomenotify Advanced usageThis 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 AcknowledgementsThanks to Patrice Neff for an idea how to do continuous testing with Python. |