Spork + Minitest

Can anyone please explain how to use Spork with Minitest. I see the spork-minitest gem in there , but it's not clear how to use it.

+1


source to share


1 answer


after you add it to your Gemfile you can use the docs at https://github.com/sporkrb/spork and replace it with "minitest".

so you can do spork minitest --bootstrap



then for running tests spork-minitest provides testdrb

which you can pass tests totestdrb test/unit/something_test.rb

+2


source







All Articles