Sha256: 5a26124de33a997cb5b3dc359a0cbd6a0a3cf52fc44e9f570345f63cd29752c5

Contents?: true

Size: 853 Bytes

Versions: 12

Compression:

Stored size: 853 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme


guard :rspec, cmd: 'rspec --color --format documentation' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^lib/page-object/platforms/(.+)/.+\.rb$}) do |m|
    ["spec/page-object/platforms/#{m[1]}/", "spec/page-object/page-object_spec.rb"]
  end
  watch('spec/spec_helper.rb')  { "spec" }
end

guard 'cucumber', notification: true, all_after_pass: false, cli: '--profile focus'  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' }
  watch(%r{^lib/.+\.rb$})                   { "features" }
  watch(%r{^cucumber.yml$})                 { "features" }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
page-object-2.2.6 Guardfile
page-object-2.2.5 Guardfile
page-object-2.2.4 Guardfile
page-object-2.2.3 Guardfile
page-object-2.2.2 Guardfile
page-object-2.2.1 Guardfile
page-object-2.2 Guardfile
page-object-2.1.1 Guardfile
page-object-2.1 Guardfile
page-object-2.0.0 Guardfile
page-object-1.2.2 Guardfile
page-object-1.2.1 Guardfile