Sha256: e95ba3678a675b2aa29d9450775f53069c385d28bd649ef8d00027e539521981
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true require 'bundler/setup' require 'simplecov' require 'simplecov-lcov' require 'pry' require 'securerandom' SimpleCov::Formatter::LcovFormatter.config do |c| c.report_with_single_file = true c.lcov_file_name = 'lcov.info' c.output_directory = 'coverage' end SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::LcovFormatter ]) SimpleCov.start do enable_coverage :branch minimum_coverage(line: 98) if ENV['FULL_COVERAGE_CHECK'] == 'true' add_filter 'spec' end require 'qonfig' require_relative 'support/spec_support' require_relative 'support/meta_scopes' RSpec.configure do |config| config.filter_run_when_matching :focus config.order = :random config.disable_monkey_patching! config.expose_dsl_globally = true config.shared_context_metadata_behavior = :apply_to_host_groups Kernel.srand config.seed config.expect_with(:rspec) { |c| c.syntax = :expect } Thread.abort_on_exception = true config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qonfig-0.28.0 | spec/spec_helper.rb |
qonfig-0.27.0 | spec/spec_helper.rb |