سؤال

I'm using Guard along with Zeus and RSpec for testing a Rails 3.2.16 application. When I change an RSpec support file, Guard wants to re-run the whole spec. I really would like to turn that behavior off. I'd like to only run the whole spec by hand, and just let Guard pick up changes to my individual specs.

هل كانت مفيدة؟

المحلول

You need to change the watchers. From the default template just remove

watch('spec/spec_helper.rb')  { "spec" }
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top