blob: 88db78f51eaac878a7fb5698951eeac5135c221a (
plain)
1
2
3
4
5
6
7
|
guard :minitest, env: { "SKIP_COVERAGE" => true } do
# with Minitest::Unit
watch(%r{^test/(.*)\/?test_(.*)\.rb$})
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) {|m| ["test/#{m[1]}test_#{m[2]}.rb", "test/#{m[1]}#{m[2]}"] }
watch(%r{^test/test_helper\.rb$}) { "test" }
watch(%r{^test/utils/.*\.rb}) { "test" }
end
|