[rspec-users] Problems running RSpec 2 with autotest/autospec

Kristian Mandrup kmandrup at gmail.com
Sat Jun 5 17:38:07 EDT 2010

I found the solution here: http://blog.davidchelimsky.net/category/autotest/

As of beta.4, you’ll have to do add this configuration manually. Just
create an autotest directory in the root of your project, put the
following statement in ./autotest/discover.rb:

Autotest.add_discovery { "rspec2" }

The final 2.0.0 release will include a generator (even for non-rails
projects) that will add this for you.

$ AUTOFEATURE=false autotest
(Not running features.  To run features in autotest, set
loading autotest/rspec2
style: Rspec2

More information about the rspec-users mailing list