From 29c3448922a3403cfc0458bbba5d07e7b87691d6 Mon Sep 17 00:00:00 2001 From: Lucas Hosseini Date: Tue, 6 Oct 2015 02:15:29 +0200 Subject: [PATCH] Better reporter for tests. --- Gemfile | 1 + test/test_helper.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 2275ef993..1d96ba05e 100644 --- a/Gemfile +++ b/Gemfile @@ -40,6 +40,7 @@ group :test do gem 'sqlite3', platform: (@windows_platforms + [:ruby]) gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby + gem 'minitest-reporters', require: false, group: :development gem 'codeclimate-test-reporter', require: false gem 'simplecov', '~> 0.10', require: false, group: :development end diff --git a/test/test_helper.rb b/test/test_helper.rb index 6a48b6780..6495d2512 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -22,6 +22,8 @@ gem 'minitest' require 'minitest/autorun' +require 'minitest/reporters' +Minitest::Reporters.use! if defined?(Minitest::Test) # Minitest 5 # https://github.com/seattlerb/minitest/blob/e21fdda9d/lib/minitest/autorun.rb