Sha256: 0aeba8ef27108fe9b019b15ee5a4ff5385b2aeeeb9a4da514ebeed510b335659

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

require 'pry'
Pry.config.input = STDIN
Pry.config.output = STDOUT

guard :minitest, test_folders: ['test'] do
  stack_tests = 'test/roro/stacks'
  watch(%r{^#{stack_tests}/(.*)/?(.*)_test\.rb$})
  # watch(%r{^lib/roro/stacks/(.*)/?(.*)_test\.rb$})
  # watch(%r{^lib/roro/stacks/(.*/)?([^/]+)\.yml$}) { |m| "lib/roro/stacks/#{m[1]}test" }
  # watch(%r{^lib/roro/stacks/(.*/)?templates/(.*)$}) { |m| "lib/roro/stacks/#{m[1]}test" }

  watch(%r{^test/(.*)/?(.*)_test\.rb$})
  watch(%r{^lib/(.*/)?([^/]+)\.rb$})     { |m| "test/#{m[1]}#{m[2]}_test.rb" }
  watch(%r{^test/test_helper\.rb$})      { 'test' }
  watch(%r{^test/helpers/(.*)\.rb$}) { ['test'] }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roro-0.3.33 Guardfile