From 2c21dd490639e210f7dc765b4df4ea66f3f92974 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 6 Mar 2019 09:54:05 +0100 Subject: [PATCH 1/1] Silence the simplecov output message It's very rare for the information in this message to be useful or actionable when running the tests, so it's best to silence the message. --- test/test_helper.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index d44fcd253..e66d782ff 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,6 +1,15 @@ require "coveralls" Coveralls.wear!("rails") +# Override the simplecov output message, since it is mostly unwanted noise +module SimpleCov + module Formatter + class HTMLFormatter + def output_message(_result); end + end + end +end + # Output both the local simplecov html and the coveralls report SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new( [SimpleCov::Formatter::HTMLFormatter, -- 2.43.2