Rspec/Cucumber Autotest Loop


Autotest would constantly run my tests even though I hadn’t modified anything. Which made it impossible to actually use. Creating the following in a file called .autotest in my application’s root solved the problem for me. This is on Rails 3 RC, RSpec 2 beta 19 and Cucumber 0.8.5.

  1. Not that it makes a huge difference, but shouldn’t those last two be:

    at.add_exception(%r{^\./rerun\.txt})
    at.add_exception(%r{^\./Gemfile\.lock})

    (Added a backslash before the dot at the beginning of the file extension.)

Leave a Reply

Your email address will not be published.