<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Mumble your tests!</title>
	<atom:link href="http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/</link>
	<description></description>
	<pubDate>Sun, 20 Jul 2008 11:22:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>By: ffighter</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-32</link>
		<dc:creator>ffighter</dc:creator>
		<pubDate>Sat, 14 Jun 2008 02:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-32</guid>
		<description>Just what I was looking for. Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>Just what I was looking for. Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hellfeuer</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-22</link>
		<dc:creator>hellfeuer</dc:creator>
		<pubDate>Sun, 27 Apr 2008 06:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-22</guid>
		<description>Yeah, mumbles has support for growl network notifications. Not sure how you would use that to get autotest notifications, since people mostly really on growlnotify in their autotest hook which of course won't be available on linux</description>
		<content:encoded><![CDATA[<p>Yeah, mumbles has support for growl network notifications. Not sure how you would use that to get autotest notifications, since people mostly really on growlnotify in their autotest hook which of course won&#8217;t be available on linux</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cropcho</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-21</link>
		<dc:creator>Jim Cropcho</dc:creator>
		<pubDate>Sat, 26 Apr 2008 23:54:42 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-21</guid>
		<description>mumbles has growl support, now, actually (version 0.4-1)</description>
		<content:encoded><![CDATA[<p>mumbles has growl support, now, actually (version 0.4-1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cropcho</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-20</link>
		<dc:creator>Jim Cropcho</dc:creator>
		<pubDate>Sat, 26 Apr 2008 23:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-20</guid>
		<description>it worked for me like this:


require 'dbus'

def send_message(title, message, icon)
  begin
    bus = DBus::SessionBus.instance
    mumbles_service = bus.service("org.mumblesproject.Mumbles&#38;quot ")
    mumbles = mumbles_service.object("/org/mumblesproject/Mumbles&#38;quot ")
    mumbles.introspect
    mumbles_iface = mumbles["org.mumblesproject.Mumbles"]
    sig = mumbles_iface.signals["Notify"]
    bus.emit(mumbles_service, mumbles, mumbles_iface, sig, title, message, icon)
  rescue Exception =&#62; e
  end
end

Autotest.add_hook :ran_command do &#124;at&#124;
   begin
     output = at.results.last.slice(/(\d+) examples?, (\d+) failures?(, \d+ pending)?/)
     if output =~ /.*[1-9] failure.*/ then
       send_message("FAIL", "#{output}", "fail.png&#38;quot ")
     else
       send_message("PASS", "#{output}", "pass.png&#38;quot ")
     end
  rescue Exception =&#62; e
  end
end</description>
		<content:encoded><![CDATA[<p>it worked for me like this:</p>
<p>require &#8216;dbus&#8217;</p>
<p>def send_message(title, message, icon)<br />
  begin<br />
    bus = DBus::SessionBus.instance<br />
    mumbles_service = bus.service(&#8221;org.mumblesproject.Mumbles&amp;quot &#8220 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
    mumbles = mumbles_service.object(&#8221;/org/mumblesproject/Mumbles&amp;quot &#8220 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
    mumbles.introspect<br />
    mumbles_iface = mumbles["org.mumblesproject.Mumbles"]<br />
    sig = mumbles_iface.signals["Notify"]<br />
    bus.emit(mumbles_service, mumbles, mumbles_iface, sig, title, message, icon)<br />
  rescue Exception =&gt; e<br />
  end<br />
end</p>
<p>Autotest.add_hook :ran_command do |at|<br />
   begin<br />
     output = at.results.last.slice(/(\d+) examples?, (\d+) failures?(, \d+ pending)?/)<br />
     if output =~ /.*[1-9] failure.*/ then<br />
       send_message(&#8221;FAIL&#8221;, &#8220;#{output}&#8221;, &#8220;fail.png&amp;quot &#8220 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
     else<br />
       send_message(&#8221;PASS&#8221;, &#8220;#{output}&#8221;, &#8220;pass.png&amp;quot &#8220 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
     end<br />
  rescue Exception =&gt; e<br />
  end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cropcho</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-19</link>
		<dc:creator>Jim Cropcho</dc:creator>
		<pubDate>Sat, 26 Apr 2008 23:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-19</guid>
		<description>the code above, when cut-and-pasted, gives me tons of errors. encoding issue?</description>
		<content:encoded><![CDATA[<p>the code above, when cut-and-pasted, gives me tons of errors. encoding issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Growl for Linux? From the blog archives of rjmolesa</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-13</link>
		<dc:creator>Growl for Linux? From the blog archives of rjmolesa</dc:creator>
		<pubDate>Tue, 08 Apr 2008 02:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-13</guid>
		<description>[...] Looks like they use it to get notifications about automated tests. And then he found mumbles and re-worked his [...]</description>
		<content:encoded><![CDATA[<p>[...] Looks like they use it to get notifications about automated tests. And then he found mumbles and re-worked his [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Carlos Rodríguez</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-12</link>
		<dc:creator>Juan Carlos Rodríguez</dc:creator>
		<pubDate>Thu, 03 Apr 2008 16:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-12</guid>
		<description>Thanks! This is just I'm looking for!</description>
		<content:encoded><![CDATA[<p>Thanks! This is just I&#8217;m looking for!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hellfeuer</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-10</link>
		<dc:creator>hellfeuer</dc:creator>
		<pubDate>Sat, 22 Mar 2008 10:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-10</guid>
		<description>Sorry I've been away for really long. The screenshot is up now, and Andreas, I know about libnotify, I was searching for something better looking :)

There have been some changes made to the Mumbles autotest plugin, and hopefully they'll be in the SVN repository soon. Until then, this method still works.</description>
		<content:encoded><![CDATA[<p>Sorry I&#8217;ve been away for really long. The screenshot is up now, and Andreas, I know about libnotify, I was searching for something better looking <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There have been some changes made to the Mumbles autotest plugin, and hopefully they&#8217;ll be in the SVN repository soon. Until then, this method still works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-8</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Mon, 03 Mar 2008 19:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-8</guid>
		<description>You can have growl-like notifications even simpler without mumbles using the builtin (?) libnotify and notify-send. I found a tutorial here (http://ph7spot.com/articles/getting_started_with_autotest) and it works very well.</description>
		<content:encoded><![CDATA[<p>You can have growl-like notifications even simpler without mumbles using the builtin (?) libnotify and notify-send. I found a tutorial here (http://ph7spot.com/articles/getting_started_with_autotest) and it works very well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szeryf</title>
		<link>http://caffeinatedcode.wordpress.com/2008/02/22/mumble-your-tests/#comment-6</link>
		<dc:creator>szeryf</dc:creator>
		<pubDate>Wed, 27 Feb 2008 15:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://caffeinatedcode.wordpress.com/?p=7#comment-6</guid>
		<description>Screenshots for Mac version using growl are on my blog here: http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/</description>
		<content:encoded><![CDATA[<p>Screenshots for Mac version using growl are on my blog here: <a href="http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/" rel="nofollow">http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
