Sha256: 4d95100a22236d487897a92eaf9c6d595b3557209302c348ad2a484414bfb756

Contents?: true

Size: 580 Bytes

Versions: 2

Compression:

Stored size: 580 Bytes

Contents

guard 'minitest' do
  watch(%r|^spec/(.*)_spec\.rb|)
  watch(%r|^lib/(.*)([^/]+)\.rb|)     { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
  watch(%r|^spec/spec_helper\.rb|)    { "spec" }
end

cucumber_cli = '--no-profile --color --format progress --strict'
cucumber_cli += ' --tags ~@spawn' if RUBY_PLATFORM =~ /mswin|mingw|windows/
guard 'cucumber', cli: cucumber_cli do
  watch(%r{^features/.+\.feature$})
  watch(%r{^features/support/.+$})          { 'features' }
  watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
test-kitchen-1.2.1 Guardfile
test-kitchen-1.2.0 Guardfile