From 8ed2616701f5b99ec677b4fb71b96e8054bd1a44 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:07:25 +0200 Subject: [PATCH] Revert "Use json formatter to report coverage" --- Gemfile | 1 + test/test_helper.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 225e8f7..011f9eb 100644 --- a/Gemfile +++ b/Gemfile @@ -5,3 +5,4 @@ source 'https://rubygems.org' gem 'rake' gem 'minitest' gem 'simplecov' +gem 'simplecov-cobertura' diff --git a/test/test_helper.rb b/test/test_helper.rb index f6f803e..aa222ae 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,8 +3,8 @@ require "simplecov" SimpleCov.start -require "simplecov_json_formatter" -SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter +require 'simplecov-cobertura' +SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter require "calculator" require "minitest/autorun"