[rspec-users] ZenTest autotest now handles RSpec, yay!

Matt Aimonetti matttemp at gmail.com
Fri Apr 13 02:31:04 EDT 2007


Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest
3.50 now handles your RSpec specs.

http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html

That's a great news.

Josh also shared with me a quick hack to make autotest work with only the
RSpec plugin installed.

Add the following into your ~/.autotest file
http://pastie.caboo.se/53535

Autotest.add_hook :initialize do |autotest|
  if autotest.is_a? RspecRailsAutotest
    autotest.spec_command = 'script/spec --options spec/spec.opts' if
File.exist? 'script/spec'
  end
end


-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070412/33a787f2/attachment.html 


More information about the rspec-users mailing list