Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Issues integrating with Guard-Minitest + Spork-minitest #12

Open
34code opened this issue Jan 21, 2013 · 1 comment
Open

Issues integrating with Guard-Minitest + Spork-minitest #12

34code opened this issue Jan 21, 2013 · 1 comment

Comments

@34code
Copy link

34code commented Jan 21, 2013

I love this gem but am having difficulty integrating spork ... and guard for automated testing.

I think its related to drb...

In the guard file.. I am recommended to use:

guard 'minitest', :drb => true do
  # ...
end

but it fails with that, giving a drb connection refused error.. so only this method works:

guard 'minitest', :drb => false do
  # ...
end

Any ideas how I can get the drb setting to work? Without the drb setting, am I missing out on performance a lot?

@HuckyDucky
Copy link

You're getting the drb connection refused error because you have to explicitly pass ":minitest => true" in your "guard 'spork' line in your Guardfile. Example:

guard 'spork', :minitest => true, :rspec => false, :cucumber => false, :test_unit => false, :bundler => false do
  watch('config/application.rb')
  watch('config/environment.rb')
  watch('config/environments/test.rb')
  watch(%r{^config/initializers/.+\.rb$})
  watch('Gemfile')
  watch('Gemfile.lock')
  watch(%r|^test/support/.+\.rb$|)
end

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants