Since my update to beta.20 i have this weird thing.
Normally i develop with autotest on, and when i get an error: i can
check the errors, and they are rerun when i save the files.
If all my tests pass this is still the current behaviour, but if i
have failing tests, autotest will keep running those tests.
I am afraid i find that kind of annoying
I am not sure what could cause this.
In my autotest/discover.rb i have the following lines:
have failing tests, autotest will keep running those tests.
when files have changed)
hmmmm… adding autotest-rails did not fix it for me.
Justin - are you experiencing the same problem?
Please take a look at the Autotest section in the README on GitHub - rspec/rspec-rails: RSpec for Rails 5+. That explains what’s been working
for me. Let me know whether or not it works for you as well.
I spoke too soon. Adding “autotest-rails” did not solve my problems
either.
Trying “bundle exec autotest” also did not help.
I have been trying to use watchr, which seems faster, but when i save
multiple files at once, only one file is tested again.
But maybe i have to write a better wachtr script for that
I will try to investigate the autotest-problem further if i can make
some time today.
I tried many variations of gems in Gemfile, modifying options in
autotest/discover.rb, running with and without bundle exec but in the
end only backing off to 2.0.0.beta.19 stopped failing tests being
immediately re-run.
I spoke too soon. Adding “autotest-rails” did not solve my problems
either.
Trying “bundle exec autotest” also did not help.
I have been trying to use watchr, which seems faster, but when i save
multiple files at once, only one file is tested again.
But maybe i have to write a better wachtr script for that
I will try to investigate the autotest-problem further if i can make
some time today.
Looks like someone else discovered, reported, and is in the process of
trying to fix this:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.