streamline arm test names and get guard to pick up right tests

This commit is contained in:
Torsten Ruger
2016-12-14 19:06:32 +02:00
parent 0a0f9154e1
commit b3bf881c49
5 changed files with 52 additions and 50 deletions

View File

@ -7,6 +7,9 @@ guard :minitest do
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
watch(%r{^test/test_helper\.rb$}) { 'test' }
#Arm instructions
watch(%r{^lib/arm/instructions/(.+)_instruction.rb}) { |m| "test/arm/test_#{m[1]}.rb" }
# with Minitest::Spec
# watch(%r{^spec/(.*)_spec\.rb$})
# watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }