add colour output to tests

This commit is contained in:
Torsten Ruger 2017-01-04 21:31:03 +02:00
parent 0383532cd4
commit 88eae0e6f0
3 changed files with 6 additions and 3 deletions

View File

@ -14,7 +14,7 @@ gem "codeclimate-test-reporter", require: nil
group :development do
gem "thor" , "0.19.1"
gem "minitest"
gem "minitest-color"
gem 'guard' # NOTE: this is necessary in newer versions
gem 'guard-minitest'
gem "rb-readline"

View File

@ -23,7 +23,7 @@ GEM
specs:
annoy (0.5.6)
highline (>= 1.5.0)
codeclimate-test-reporter (1.0.3)
codeclimate-test-reporter (1.0.4)
simplecov
coderay (1.1.1)
docile (1.1.5)
@ -53,6 +53,8 @@ GEM
lumberjack (1.0.10)
method_source (0.8.2)
minitest (5.10.1)
minitest-color (0.0.2)
minitest (~> 5)
nenv (0.3.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
@ -101,7 +103,7 @@ DEPENDENCIES
codeclimate-test-reporter
guard
guard-minitest
minitest
minitest-color
rake
rb-readline
rye

View File

@ -12,6 +12,7 @@ if ENV['CODECLIMATE_REPO_TOKEN']
SimpleCov.start { add_filter "/test/" }
end
require "minitest/color"
require "minitest/autorun"
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))