get guard to run several test on one change by setting up names accordingly

This commit is contained in:
Torsten Ruger
2017-04-12 20:18:41 +03:00
parent 21e426be71
commit 87133722b3
9 changed files with 40 additions and 11 deletions

View File

@ -16,4 +16,7 @@ guard :minitest do
watch(%r{^lib/typed/parfait/type.rb}) { |m| "test/typed/type/test_all.rb" }
watch(%r{^lib/typed/parfait/typed_method.rb}) { |m| "test/typed/type/test_method_api.rb" }
# Vool to_mom compile process + # Ruby to vool compile process
watch(%r{^lib/vool/statements/(.+)_statement.rb}) { |m| ["test/vool/to_mom/test_#{m[1]}.rb" ,"test/vool/statements/test_#{m[1]}.rb"] }
end