Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
fix: readd simplecov-lcov support
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Feb 12, 2023
1 parent d8bf104 commit 87c68f6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@

require 'simplecov'

SimpleCov.start 'rails'
SimpleCov.start 'rails' do
require 'simplecov-lcov'

SimpleCov::Formatter::LcovFormatter.config do |c|
c.report_with_single_file = true
c.single_report_path = 'coverage/lcov.info'
end

formatter SimpleCov::Formatter::LcovFormatter
end

ENV['RAILS_ENV'] ||= 'test'
require_relative '../config/environment'
Expand Down

0 comments on commit 87c68f6

Please sign in to comment.