<?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: Ruby on Rails BDD with Autotest, Growl, and Rspec</title>
	<atom:link href="http://www.danielfischer.com/2007/05/14/ruby-on-rails-bdd-with-autotest-growl-rspec/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danielfischer.com/2007/05/14/ruby-on-rails-bdd-with-autotest-growl-rspec/</link>
	<description>Ruby, Ruby on Rails, Los Angeles, Technology, Geek, Science, Life</description>
	<pubDate>Thu, 07 Aug 2008 23:02:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: James O'Kell...</title>
		<link>http://www.danielfischer.com/2007/05/14/ruby-on-rails-bdd-with-autotest-growl-rspec/#comment-18011</link>
		<dc:creator>James O'Kell...</dc:creator>
		<pubDate>Fri, 28 Dec 2007 17:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/05/14/autotest-rspec-growl/#comment-18011</guid>
		<description>Awesome Dan! Now I have no more excuses on why a build failed cause I didn't check my autotest window. :)

I made a minor change to your script so I can view my pending as well.

output = autotest.results.last.slice(/(\d+)\s.*examples?,\s(\d+)\s.*failures?,\s(\d+)\s.*pending?/)</description>
		<content:encoded><![CDATA[<p>Awesome Dan! Now I have no more excuses on why a build failed cause I didn&#8217;t check my autotest window. :)</p>
<p>I made a minor change to your script so I can view my pending as well.</p>
<p>output = autotest.results.last.slice(/(\d+)\s.*examples?,\s(\d+)\s.*failures?,\s(\d+)\s.*pending?/)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deville Comp...</title>
		<link>http://www.danielfischer.com/2007/05/14/ruby-on-rails-bdd-with-autotest-growl-rspec/#comment-9712</link>
		<dc:creator>Deville Comp...</dc:creator>
		<pubDate>Wed, 15 Aug 2007 06:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/05/14/autotest-rspec-growl/#comment-9712</guid>
		<description>[...] 1.0.8 is a new version, we decided to try again. So far it&#8217;s worked. So with a big thanks to Daniel Fischer, I&#8217;d like to write up [...]</description>
		<content:encoded><![CDATA[<p>[...] 1.0.8 is a new version, we decided to try again. So far it&#8217;s worked. So with a big thanks to Daniel Fischer, I&#8217;d like to write up [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Fisch...</title>
		<link>http://www.danielfischer.com/2007/05/14/ruby-on-rails-bdd-with-autotest-growl-rspec/#comment-6327</link>
		<dc:creator>Daniel Fisch...</dc:creator>
		<pubDate>Mon, 04 Jun 2007 06:06:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/05/14/autotest-rspec-growl/#comment-6327</guid>
		<description>Try this:

module Autotest::Growl
  def self.growl title, msg, img, pri=0, stick="" 
    system "growlnotify -n autotest --image #{img} -p #{pri} -m #{ msg.inspect} #{title} #{stick}" 
  end

  Autotest.add_hook :ran_command do &#124;autotest&#124;
    output = autotest.results.last.slice(/(\d+)\s.*examples?,\s(\d+)\s.*failures?/) 
    if output =~ /[1-9]\sfailures?/
      growl "Test Results", "#{output}", "~/Library/autotest/rails_fail.png", 2, "-s" 
    else
      growl "Test Results", "#{output}", "~/Library/autotest/rails_ok.png" 
    end
  end
end</description>
		<content:encoded><![CDATA[<p>Try this:</p>
<p>module Autotest::Growl<br />
  def self.growl title, msg, img, pri=0, stick=&#8221;"<br />
    system &#8220;growlnotify -n autotest &#8211;image #{img} -p #{pri} -m #{ msg.inspect} #{title} #{stick}&#8221;<br />
  end</p>
<p>  Autotest.add_hook :ran_command do |autotest|<br />
    output = autotest.results.last.slice(/(\d+)\s.*examples?,\s(\d+)\s.*failures?/)<br />
    if output =~ /[1-9]\sfailures?/<br />
      growl &#8220;Test Results&#8221;, &#8220;#{output}&#8221;, &#8220;~/Library/autotest/rails_fail.png&#8221;, 2, &#8220;-s&#8221;<br />
    else<br />
      growl &#8220;Test Results&#8221;, &#8220;#{output}&#8221;, &#8220;~/Library/autotest/rails_ok.png&#8221;<br />
    end<br />
  end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BC</title>
		<link>http://www.danielfischer.com/2007/05/14/ruby-on-rails-bdd-with-autotest-growl-rspec/#comment-6312</link>
		<dc:creator>BC</dc:creator>
		<pubDate>Mon, 04 Jun 2007 01:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/05/14/autotest-rspec-growl/#comment-6312</guid>
		<description>Hey Dan,

i think there's a mistake in the regular expression somewhere... I'm getting green when tests are failing.  When I decipher the expression I'll write you with the fix :)</description>
		<content:encoded><![CDATA[<p>Hey Dan,</p>
<p>i think there&#8217;s a mistake in the regular expression somewhere&#8230; I&#8217;m getting green when tests are failing.  When I decipher the expression I&#8217;ll write you with the fix :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
