You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
require "minitest/test_task"
|
|
|
|
|
|
|
|
Minitest::TestTask.create
|
|
|
|
task default: :test
|
|
|
|
|
|
|
|
namespace :test do
|
|
|
|
desc "Run tests on source changes"
|
|
|
|
task :watch do
|
|
|
|
loop do
|
|
|
|
sh "fd .*.rb | entr -d rake test:isolated"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|