grosser / autotest

Save a file, autotest will run the matching tests! (Autotest without ZenTest)
121 stars 20 forks source link

Won't run, complains about missing require #36

Closed timuckun closed 11 years ago

timuckun commented 11 years ago

loading autotest/minitest_rails_rspec2 Autotest style autotest/minitest_rails_rspec2 doesn't seem to exist. Aborting.

grosser commented 11 years ago

seems like you have rspec and minitest in your project, or you are not using a Gemfile. Try guard, maybe that works better.

timuckun commented 11 years ago

I did have both minitest and rspec and I was using a Gemfile. Autotest won't work with both?

grosser commented 11 years ago

they both have a autotest/discover.rb I assume -> it tries to run rspec2_minitest style which fails :) you can try aututest --style rspec2 or autotest --style minitest

timuckun commented 11 years ago

I removed rspec from my gemfile and did a bundle and then tried to run autotest but it is still trying to load loading autotest/minitest_rails_rspec2 just FYI.

timuckun commented 11 years ago

autotest --style minitest

loading autotest/minitest Autotest style autotest/minitest doesn't seem to exist. Aborting.

Mmmmm.

The style --rspec2 is working though. I am using minitest-rails gem.

grosser commented 11 years ago

Welcome to the land of black magic :)

On Wed, Jan 2, 2013 at 1:02 PM, Tim Uckun notifications@github.com wrote:

autotest --style minitest

loading autotest/minitest Autotest style autotest/minitest doesn't seem to exist. Aborting.

Mmmmm.

The style --rspec2 is working though. I am using minitest-rails gem.

— Reply to this email directly or view it on GitHubhttps://github.com/grosser/autotest/issues/36#issuecomment-11824067.

timuckun commented 11 years ago

removing autotest and then re-installing it fixes the problem.

jeffreybiles commented 10 years ago

I was having this problem, and I fixed it by using autotest --style rails