blob: e9cb22073f2a78ecd97443e3e0e705ab2dcefbe0 (
plain)
1
2
3
4
5
6
7
8
|
# -*- frozen-string-literal: true -*-
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
|