From 0bb888f1aec7a118ab76d6eabbe4649aeb258524 Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Fri, 20 Dec 2024 19:47:06 +0100 Subject: [PATCH] Resolve incorrect coverage when running tests through rake task See https://github.com/minitest/minitest/issues/1020 --- Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rakefile b/Rakefile index 5e2722be..f22cf5ea 100644 --- a/Rakefile +++ b/Rakefile @@ -8,6 +8,8 @@ require "yard" Minitest::TestTask.create do |t| t.libs << "test" t.test_globs = ["test/**/*_test.rb"] + # https://github.com/minitest/minitest/issues/1020 + t.framework = nil end RuboCop::RakeTask.new YARD::Rake::YardocTask.new