guard / guard-minitest

Guard::Minitest automatically run your tests (much like autotest)
https://rubygems.org/gems/guard-minitest
MIT License
249 stars 88 forks source link

It doesn't work with 'spring: true' (drops to spring's help screen) #111

Closed pjump closed 10 years ago

pjump commented 10 years ago

spring: "rake test" solves the problem, though the notifier won't show test stats, just if they pass or not, but I think that's still much better than guard+guard-minitest dropping to spring's help screen.

I think "rake test" should be the default string component in the def spring_command(paths) (in lib/guard/minitest/runner.rb) rather than the current 'testunit', which doesn't work.

I get the erroneous behavior with: ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-linux] Guard version 2.6.0 Spring version 1.1.2 Rails 4.1.0 Minitest-5.5.5

rymai commented 10 years ago

Thanks for the report, I'll default to rake test instead of testunit then for now.

That said, what do you think of the proposal of @genericsteele in #108 to use bin/rake test instead of spring rake test (please reply directly in #108)?

rymai commented 10 years ago

Version 2.3.0 released!