Stop guard from automatically running all tests
Ruby guard is an excellent replacement for ZenTest’s autotest. Originally guard would not run all tests unless you told it to. I liked this behavior because it meant running just the test I’m working on until I’m ready to run the whole suite.
Recently the behavior changed to simulate autotest and run all tests at startup and after successful completion of last test.
It drives me crazy.
Dug through the github tickets and found how to turn it off.
When declaring a group in the guardfile you add options :all_on_start and :all_after_pass.
guard 'rspec', all_after_pass: false, all_on_start: false, version: 2 do
You will have to manual trigger all tests by hitting