Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Jun 28, 2023
1 parent a859997 commit a091b49
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,3 @@ def minitest(*args, openapi: false, output: :yaml)
config.diff_elision_enabled = true
config.diff_elision_maximum = 3
end

# unless ENV['COVERAGE'] && ENV['COVERAGE'].empty?
require 'simplecov'
require 'simplecov-cobertura'

SimpleCov.enable_for_subprocesses true
SimpleCov.at_fork do |pid|
# This needs a unique name so it won't be overwritten
SimpleCov.command_name "#{SimpleCov.command_name} (subprocess: #{pid})"
# be quiet, the parent process will be in charge of output and checking coverage totals
SimpleCov.print_error_status = false
SimpleCov.formatter SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::CoberturaFormatter,
SimpleCov::Formatter::HTMLFormatter,
])
SimpleCov.minimum_coverage 0
# start
SimpleCov.start
# end
end

0 comments on commit a091b49

Please sign in to comment.