Upgrading to ZenTest 4.1.0
June 8th, 2009
If you use Autotest with Ruby on Rails, be sure to gem install autotest-rails when you upgrade to ZenTest-4.1.0.
Without that gem, when you run the autospec command that ships with RSpec, Autotest won’t won’t have any way of knowing it’s in a Rails app and it will load up rspec’s autotest/rspec.rb instead of rspec-rails‘ autotest/rails_rspec.rb.
Even if you’re not using RSpec, you’ll get ZenTest’s autotest/autotest.rb instead of autotest/rails.rb when you run the autotest command.
The next release of rspec-rails will include a patch to resolve this for RSpec users, but in the mean time (and for everybody else), just gem install autotest-rails and resume your regularly scheduled continuous testing.


June 8th, 2009 at 4:01 pm
…Errr… autotest-rails gets grumpy if you have ZenTest-4.1.1 installed.
FWIW.
June 8th, 2009 at 4:04 pm
Sorry, ignore that. It was totally redgreen getting grumpy, I’m just not awake enough.
July 16th, 2009 at 1:48 pm
Thanks David, this solved my issues.
January 14th, 2010 at 12:25 am
I’m not too sure why, but mine is still looping when i have red code. Posting what I think is relevant.
autotest-fsevent (0.1.3) autotest-growl (0.1.7) autotest-rails (4.1.0) cucumber (0.6.1) cucumber-rails (0.2.3, 0.2.2, 0.2.1) rcov (0.9.7.1, 0.9.6) redgreen (1.2.2) rspec (1.3.0) rspec-rails (1.3.2) thoughtbot-factory_girl (1.2.2) webrat (0.6.0) ZenTest (4.2.1)
May 15th, 2010 at 8:02 am
This is a really good read for me. Must admit that you are one of the coolest bloggers I ever saw. Thanks for posting this informative article.
May 17th, 2010 at 7:11 am
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely useful for me.
May 19th, 2010 at 1:56 pm
Only want to say your article is as tonishing. The clearness in your post is simply spectacular and i can take for granted you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with succeeding post. Thanks a million and please keep up the ac complished work.
May 19th, 2010 at 1:59 pm
What I wouldnt give to have a debate with you about this. You just say so many things that come from nowhere that Im pretty sure Id have a fair shot. Your blog is great visually, I mean people wont be bored. But others who can see past the videos and the layout wont be so impressed with your generic understanding of this topic.