Skip to content

Commit 66434f9

Browse files
committed
(QENG-1404) Segregate system testing gems
Prior to this there was generic :test group. Unfortunately Beaker will be EOL-ing support for Ruby 1.8 (a number of Beaker's dependencies already have and pinning to older versions is becoming costly). Once Beaker does this it will cause failures whenever running `bundle install`. To avoid this failure we can segregate the system testing gems, allowing unit, lint and development to continue with `bundle install --without system_tests`.
1 parent 850297b commit 66434f9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Gemfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@ def location_for(place, fake_version = nil)
1010
end
1111
end
1212

13-
group :development, :test do
13+
group :development, :unit_tests do
1414
gem 'rake', '~> 10.1.0', :require => false
1515
gem 'rspec-puppet', :require => false
1616
gem 'puppetlabs_spec_helper', :require => false
17-
gem 'serverspec', :require => false
1817
gem 'puppet-lint', :require => false
1918
gem 'pry', :require => false
2019
gem 'simplecov', :require => false
20+
end
21+
22+
group :system_tests do
2123
gem 'beaker-rspec', :require => false
24+
gem 'serverspec', :require => false
2225
end
2326

2427
ENV['GEM_PUPPET_VERSION'] ||= ENV['PUPPET_GEM_VERSION']

0 commit comments

Comments
 (0)