Sha256: e155193a7179f300c70970e8ba50c079ae58c8b8f3282b7aca491437b0bb62d2
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
# # Copyright 2016, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require 'rake' require 'rspec' require 'rspec/its' require 'simplecov' # Check for coverage stuffs formatters = [] if ENV['CODECOV_TOKEN'] || ENV['CI'] require 'codecov' formatters << SimpleCov::Formatter::Codecov end unless formatters.empty? SimpleCov.formatters = formatters end SimpleCov.start do # Don't get coverage on the test cases themselves. add_filter '/spec/' add_filter '/test/' # Codecov doesn't automatically ignore vendored files. add_filter '/vendor/' end require 'kitchen/driver/docker' RSpec.configure do |config| # Basic configuraiton config.run_all_when_everything_filtered = true config.filter_run(:focus) # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # --seed 1234 config.order = 'random' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kitchen-docker-3.0.0 | test/spec/spec_helper.rb |