Skip to content
Cezary Baginski edited this page Feb 12, 2016 · 1 revision

Troubleshooting

Problem: Empty tests run at the end

Make sure you're using the latest versions of:

  • guard-minitest (at least 2.4.4)
  • guard (at least 2.13.0)
  • listen (at least 3.0.6) and the minitest gem.

I'm guessing you're using an old version of a minitest-related gem.

One gem you're using may be using an at_exit hook, which is rerunning minitest after tests finish, so check your minitest plugins also (minitest autoloads plugins). Run guard with bundler to make sure you're NOT loading other gems (minitest plugins).

(Google problems with "minitest at_exit" and update this wiki if needed).

Also, using spring may interfere (you may have to stop spring first, or try running without spring).

So the output of bundle show may help.

If that doesn't help, open a new issue and show the output of bundle exec guard -d.

If you want to debug yourself, check out: https://github.com/guard/guard/wiki/Understanding-Guard

P.S. Feel free to update this Wiki and send PR's for changes in the README

Clone this wiki locally