Sha256: 6982414cc5b924fc9f6c8395eba29baf5acd7fff2909c3f0c86d2ae60bede908

Contents?: true

Size: 1.18 KB

Versions: 42

Compression:

Stored size: 1.18 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

42 entries across 42 versions & 1 rubygems

Version Path
auth0-5.18.0 Guardfile
auth0-5.16.0 Guardfile
auth0-5.15.0 Guardfile
auth0-5.14.2 Guardfile
auth0-5.14.1 Guardfile
auth0-5.14.0 Guardfile
auth0-5.13.0 Guardfile
auth0-5.12.0 Guardfile
auth0-5.11.0 Guardfile
auth0-5.10.0 Guardfile
auth0-5.9.0 Guardfile
auth0-5.8.1 Guardfile
auth0-5.8.0 Guardfile
auth0-5.7.0 Guardfile
auth0-5.6.1 Guardfile
auth0-5.6.0 Guardfile
auth0-5.5.0 Guardfile
auth0-5.4.0 Guardfile
auth0-5.3.0 Guardfile
auth0-5.2.0 Guardfile