开发者

Autospec does nothing when I run

开发者 https://www.devze.com 2023-01-15 18:08 出处:网络
I have failing tests that show up when I do a \'rake spec\'开发者_如何学Go or the like. However when I run autospec it outputs the following then does nothing and returns me to the command prompt.

I have failing tests that show up when I do a 'rake spec'开发者_如何学Go or the like.

However when I run autospec it outputs the following then does nothing and returns me to the command prompt.

$ autospec

(Not running features. To run features in autotest, set AUTOFEATURE=true.) loading autotest/rails_rspec style: RailsRspec

How do I get autospec running?

The gems I have installed are:

autotest (4.3.2) autotest-growl (0.2.5) rspec (1.3.0) rspec-rails (1.3.2)


I once solved this problem removing the test directory. Give it a try. Also run autospec -v to see which paths he is looking at.


Since installing bundler/Rails 3, to run autospec the following command is needed:

$> bundle exec autospec


You'll probably need to install autotest-rails

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号