Sha256: b55c96802ce078e6b9ad9cc08b451edee064e433be95c19bcc77f9b296a91f87

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 KB

Contents

scope group: :unit_test

group :unit_test do
  guard 'rspec', cmd: "bundle exec rspec -P \"spec/lib/auth0/**/*#{ENV['PATTERN']}*_spec.rb\" --drb --format Fuubar --color" do
    # run every updated spec file
    watch(%r{^spec/.+_spec\.rb$})
    # run the lib specs when a file in lib/ changes
    watch(%r{^lib/(.+)\.rb$}) { "spec" }
    # run all test for helper changes
    watch('spec/spec_helper.rb')  { "spec" }
  end
end

group :integration do
  guard 'rspec', cmd: "MODE=full bundle exec rspec -P \"spec/integration/**/*#{ENV['PATTERN']}*_spec.rb\" --drb --format Fuubar --color" do
    # run every updated spec file
    watch(%r{^spec/.+_spec\.rb$})
    # run the lib specs when a file in lib/ changes
    watch(%r{^lib/(.+)\.rb$}) { "spec" }
    # run all test for helper changes
    watch('spec/spec_helper.rb')  { "spec" }
  end
end

group :full do
  guard 'rspec', cmd: "MODE=full bundle exec rspec --drb --format Fuubar --color" do
    # run every updated spec file
    watch(%r{^spec/.+_spec\.rb$})
    # run the lib specs when a file in lib/ changes
    watch(%r{^lib/(.+)\.rb$}) { "spec" }
    # run all test for helper changes
    watch('spec/spec_helper.rb')  { "spec" }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
auth0-3.6.1 Guardfile
auth0-3.6.0 Guardfile
auth0-3.5.0 Guardfile
auth0-3.4.0 Guardfile
auth0-3.3.0 Guardfile