Sha256: 0794718f985db3d8b4edd58b1431e72cdf8cc92a9d40163d28aea445efa414aa
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 Bytes
Contents
= Notifier for testing framework riot. Notifies you about passes, errors, failures via $HOME/bin/notify_redgreen == Usage # in your test/helper.rb require 'riot' require 'riot_notifier' Riot.reporter = RiotNotifier::RedgreenNotifier == notify_redgreen Your $HOME/bin/notify_redgreen #!/bin/sh case "$1" in red) OPTIONS="-t 2500 -u critical -i /usr/share/icons/gnome/scalable/emotes/face-angry.svg :-(" ;; green) OPTIONS="-t 2000 -u normal -i /usr/share/icons/gnome/scalable/emblems/emblem-default.svg :-)" ;; esac shift notify-send $OPTIONS "$*" == Install via gemcutter gem install gemcutter gem tumble gem install riot_notifier == Authors * Peter Suschlik == TODO * talk to DBUS directly (ruby-dbus?) instead of `notify-send` binary * riot's assertions support blocks! (like asserts_topic.equals { topic }). Use it!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
riot_notifier-0.0.2 | README.rdoc |