<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Get your Rails tests results via Growl notifications</title>
	<atom:link href="http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/</link>
	<description>Rails, Firefox, Anime, Mac</description>
	<lastBuildDate>Sat, 04 Sep 2010 10:10:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Productivity boosts with Growl &#171; Scattered Showers</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-731225</link>
		<dc:creator>Productivity boosts with Growl &#171; Scattered Showers</dc:creator>
		<pubDate>Sat, 03 Oct 2009 20:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-731225</guid>
		<description>[...] Unit test results via Growl [...]</description>
		<content:encoded><![CDATA[<p>[...] Unit test results via Growl [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AutoTest &#8211; All your rails tests are belong to us &#171; Think Bohemian</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-730817</link>
		<dc:creator>AutoTest &#8211; All your rails tests are belong to us &#171; Think Bohemian</dc:creator>
		<pubDate>Fri, 25 Sep 2009 22:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-730817</guid>
		<description>[...] tests on a file commit automatically so you don&#8217;t have to. You can even configure it with growl so red or green icons flash depending on a pass fail condition&#8230;really cool [...]</description>
		<content:encoded><![CDATA[<p>[...] tests on a file commit automatically so you don&#8217;t have to. You can even configure it with growl so red or green icons flash depending on a pass fail condition&#8230;really cool [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rails Test-flow: Shoulda, Autotest, RedGreen, with Growl Notifications &#124; Keeping an ear to the rail.</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-684191</link>
		<dc:creator>Rails Test-flow: Shoulda, Autotest, RedGreen, with Growl Notifications &#124; Keeping an ear to the rail.</dc:creator>
		<pubDate>Thu, 18 Dec 2008 07:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-684191</guid>
		<description>[...] blog.codefront.net errtheblog.com blog.internautdesign.com [...]</description>
		<content:encoded><![CDATA[<p>[...] blog.codefront.net errtheblog.com blog.internautdesign.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Autotest Notifications in Ubuntu with Mumbles &#171; dambalah</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-670966</link>
		<dc:creator>Autotest Notifications in Ubuntu with Mumbles &#171; dambalah</dc:creator>
		<pubDate>Tue, 07 Oct 2008 23:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-670966</guid>
		<description>[...] notified of the test results without having to switch to the terminal window running AutoTest. Some Mac users already found a way to do this using Growl. However, that only works if you have a Mac, and I [...]</description>
		<content:encoded><![CDATA[<p>[...] notified of the test results without having to switch to the terminal window running AutoTest. Some Mac users already found a way to do this using Growl. However, that only works if you have a Mac, and I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quelques notes sur autotest - RubyZness - Ruby on Rails, business et entreprises</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-660460</link>
		<dc:creator>Quelques notes sur autotest - RubyZness - Ruby on Rails, business et entreprises</dc:creator>
		<pubDate>Sat, 02 Aug 2008 09:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-660460</guid>
		<description>[...] - Video d&#8217;utilisation d&#8217;autotest - Autotest et growl pour [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; Video d&#8217;utilisation d&#8217;autotest &#8211; Autotest et growl pour [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Fresh Cup &#187; Blog Archive &#187; Double Shot #30</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-418177</link>
		<dc:creator>A Fresh Cup &#187; Blog Archive &#187; Double Shot #30</dc:creator>
		<pubDate>Tue, 01 Jan 2008 14:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-418177</guid>
		<description>[...] Get your Rails tests results via Growl notifications - I&#8217;m starting to rethink whether every bloody thing should come in via Growl. If test results come back quickly enough to be useful, aren&#8217;t they foreground information? Still, eye candy is seductive. (via dzone) [...]</description>
		<content:encoded><![CDATA[<p>[...] Get your Rails tests results via Growl notifications &#8211; I&#8217;m starting to rethink whether every bloody thing should come in via Growl. If test results come back quickly enough to be useful, aren&#8217;t they foreground information? Still, eye candy is seductive. (via dzone) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael Schiller &#187; Blog Archive &#187; Testergebnisse via Growl/GnomeNotify</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-400393</link>
		<dc:creator>Raphael Schiller &#187; Blog Archive &#187; Testergebnisse via Growl/GnomeNotify</dc:creator>
		<pubDate>Thu, 20 Dec 2007 10:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-400393</guid>
		<description>[...] unter Gnome via GnomeNotify Notifications unter OSX via Growl   Share and Enjoy: These icons link to social bookmarking sites where readers can share and [...]</description>
		<content:encoded><![CDATA[<p>[...] unter Gnome via GnomeNotify Notifications unter OSX via Growl   Share and Enjoy: These icons link to social bookmarking sites where readers can share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bonq.net/flipp &#187; Blog Archive &#187; daily del.icio.us 2007-12-02</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-377327</link>
		<dc:creator>bonq.net/flipp &#187; Blog Archive &#187; daily del.icio.us 2007-12-02</dc:creator>
		<pubDate>Sun, 02 Dec 2007 19:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-377327</guid>
		<description>[...] Get your Rails tests results via Growl notifications - redemption in a blog (tags: autotest rubyonrails ruby test testing growl rails) [...]</description>
		<content:encoded><![CDATA[<p>[...] Get your Rails tests results via Growl notifications &#8211; redemption in a blog (tags: autotest rubyonrails ruby test testing growl rails) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Dalager</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-281149</link>
		<dc:creator>Christian Dalager</dc:creator>
		<pubDate>Tue, 18 Sep 2007 23:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-281149</guid>
		<description>I modified the .autotest hook to stop growling good and green tests again and again. It&#039;s all about cutting down the redundancies.

See this pastie: &lt;a href=&quot;http://pastie.textmate.org/98487&quot; rel=&quot;nofollow&quot;&gt;http://pastie.textmate.org/98487&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I modified the .autotest hook to stop growling good and green tests again and again. It&#8217;s all about cutting down the redundancies.</p>
<p>See this pastie: <a href="http://pastie.textmate.org/98487" rel="nofollow">http://pastie.textmate.org/98487</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Woody</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-278907</link>
		<dc:creator>Woody</dc:creator>
		<pubDate>Sun, 16 Sep 2007 10:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-278907</guid>
		<description>Ok, one last worthy change. It&#039;s nice to know stuff about passing test results, so I replaced line 13 above (&lt;code&gt;res = at.results[/\d+ tests.*$/]&lt;/code&gt;) with &lt;code&gt;res = at.results.scan(/Finished.*failures/m).to_s.gsub(/\e\[32m/,&#039;&#039;)&lt;/code&gt;, and now my completed tests give some more info.</description>
		<content:encoded><![CDATA[<p>Ok, one last worthy change. It&#8217;s nice to know stuff about passing test results, so I replaced line 13 above (<code>res = at.results[/\d+ tests.*$/]</code>) with <code>res = at.results.scan(/Finished.*failures/m).to_s.gsub(/\e\[32m/,'')</code>, and now my completed tests give some more info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Woody</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-278844</link>
		<dc:creator>Woody</dc:creator>
		<pubDate>Sun, 16 Sep 2007 06:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-278844</guid>
		<description>Nate Vack already mentioned that the author&#039;s .autotest file didn&#039;t work anymore. I found Nate&#039;s to be really great, except there&#039;s some newline stuff that bothered me. I fiddled with it a bunch, and found something that works:

&lt;code&gt;
module Autotest::Growl
  def self.growl title, msg, img, pri=0, stick=&quot;&quot;
    system &quot;growlnotify -n autotest --image #{img} -p #{pri} -m &#039;#{msg}&#039; #{title} #{stick}&quot;
  end

  Autotest.add_hook :red do &#124;at&#124;
    errors = at.files_to_test.map { &#124;k, v&#124; &quot;#{k}:\n  #{v.join(&quot;\n  &quot;)}&quot;}.join(&quot;\n\n&quot;)
    #failed_tests = at.files_to_test.inject(0){ &#124;s,a&#124; k,v = a; s + v.size}
    growl &quot;Tests failed:&quot;, &quot;#{errors}&quot;, &#039;~/.fail.png&#039;, 2#, &#039;-s&#039;
  end

  Autotest.add_hook :green do &#124;at&#124;
    res = at.results[/\d+ tests.*$/]
    growl &quot;Test Results&quot;, &quot;#{res}&quot;, &#039;~/.pass.png&#039;
  end
end
&lt;/code&gt;

the only differences are in line 7, where I manhandle the newlines to show up and add some spacing for multiple errors, and then put &#039; &#039; around the message (again, for newline handling purposes).

Much easier on the eyes!</description>
		<content:encoded><![CDATA[<p>Nate Vack already mentioned that the author&#8217;s .autotest file didn&#8217;t work anymore. I found Nate&#8217;s to be really great, except there&#8217;s some newline stuff that bothered me. I fiddled with it a bunch, and found something that works:</p>
<p><code><br />
module Autotest::Growl<br />
  def self.growl title, msg, img, pri=0, stick=""<br />
    system "growlnotify -n autotest --image #{img} -p #{pri} -m '#{msg}' #{title} #{stick}"<br />
  end</p>
<p>  Autotest.add_hook :red do |at|<br />
    errors = at.files_to_test.map { |k, v| "#{k}:\n  #{v.join("\n  ")}"}.join("\n\n")<br />
    #failed_tests = at.files_to_test.inject(0){ |s,a| k,v = a; s + v.size}<br />
    growl "Tests failed:", "#{errors}", '~/.fail.png', 2#, '-s'<br />
  end</p>
<p>  Autotest.add_hook :green do |at|<br />
    res = at.results[/\d+ tests.*$/]<br />
    growl "Test Results", "#{res}", '~/.pass.png'<br />
  end<br />
end<br />
</code></p>
<p>the only differences are in line 7, where I manhandle the newlines to show up and add some spacing for multiple errors, and then put &#8216; &#8216; around the message (again, for newline handling purposes).</p>
<p>Much easier on the eyes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inge Jørgensen</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-263244</link>
		<dc:creator>Inge Jørgensen</dc:creator>
		<pubDate>Tue, 28 Aug 2007 10:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-263244</guid>
		<description>The .autotest file above doesn&#039;t work with the newest version of autotest, &lt;a href=&quot;http://pastie.caboo.se/91682&quot; rel=&quot;nofollow&quot;&gt;I did some tweaking to make it work&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>The .autotest file above doesn&#8217;t work with the newest version of autotest, <a href="http://pastie.caboo.se/91682" rel="nofollow">I did some tweaking to make it work</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yet another autotest desktop notifier &#8230; OSD &#171; Geekvicious Journal</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-259623</link>
		<dc:creator>Yet another autotest desktop notifier &#8230; OSD &#171; Geekvicious Journal</dc:creator>
		<pubDate>Thu, 23 Aug 2007 14:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-259623</guid>
		<description>[...] it is not possible to choose the color, for the notifications. So based in the growl autotest notifier, I wrote a version for osdsh an X OSD manager, it is not as pretty as growl ;)&#8230; but it gives [...]</description>
		<content:encoded><![CDATA[<p>[...] it is not possible to choose the color, for the notifications. So based in the growl autotest notifier, I wrote a version for osdsh an X OSD manager, it is not as pretty as growl ;)&#8230; but it gives [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshaven Potter</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-255637</link>
		<dc:creator>Joshaven Potter</dc:creator>
		<pubDate>Fri, 17 Aug 2007 21:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-255637</guid>
		<description>##Your .autotest code did not work for me
##Here is what did work for me though:

module Autotest::Growl
  def self.growl title, msg, img, pri=0, sticky=&quot;&quot;
    system &quot;growlnotify -n autotest --image #{img} -p #{pri} -m #{msg.inspect} #{title} #{sticky}&quot;
  end

  Autotest.add_hook :ran_command do &#124;at&#124;
    output = at.results.last.slice(/\d* tests, \d* assertions, \d* failures, \d* errors/)
    if output =~ /0 failures, 0 errors/
      growl &quot;Test Results&quot;, &quot;#{output}&quot;, &quot;~/Library/autotest/rails_ok.png&quot;
    else
      growl &quot;Test Results&quot;, &quot;#{output}&quot;, &quot;~/Library/autotest/rails_fail.png&quot;, 2, &quot;-s&quot;
    end
  end
end</description>
		<content:encoded><![CDATA[<p>##Your .autotest code did not work for me<br />
##Here is what did work for me though:</p>
<p>module Autotest::Growl<br />
  def self.growl title, msg, img, pri=0, sticky=&#8221;"<br />
    system &#8220;growlnotify -n autotest &#8211;image #{img} -p #{pri} -m #{msg.inspect} #{title} #{sticky}&#8221;<br />
  end</p>
<p>  Autotest.add_hook :ran_command do |at|<br />
    output = at.results.last.slice(/\d* tests, \d* assertions, \d* failures, \d* errors/)<br />
    if output =~ /0 failures, 0 errors/<br />
      growl &#8220;Test Results&#8221;, &#8220;#{output}&#8221;, &#8220;~/Library/autotest/rails_ok.png&#8221;<br />
    else<br />
      growl &#8220;Test Results&#8221;, &#8220;#{output}&#8221;, &#8220;~/Library/autotest/rails_fail.png&#8221;, 2, &#8220;-s&#8221;<br />
    end<br />
  end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby on Rails &#187; ?????? ????</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/comment-page-1/#comment-248655</link>
		<dc:creator>Ruby on Rails &#187; ?????? ????</dc:creator>
		<pubDate>Wed, 08 Aug 2007 07:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comment-248655</guid>
		<description>[...] ??? ?????? ????, ??????? ????????? ???? ????????????, ??? ? ???? ? ????? ????????????? ??????????: RSpec, Migrations, Autotest with Growl notifications. [...]</description>
		<content:encoded><![CDATA[<p>[...] ??? ?????? ????, ??????? ????????? ???? ????????????, ??? ? ???? ? ????? ????????????? ??????????: RSpec, Migrations, Autotest with Growl notifications. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
