READING.JP

~日記で学ぶソフトウェア開発~

Rails-4.0での ci_reporter の設定

23 Aug 2014

Gemfile

group :test do
  gem 'minitest'
  gem 'minitest-colorize'
  gem 'minitest-reporters'
end

test/test_helper.rb

require 'minitest/reporters'
MiniTest::Reporters.use! [
  MiniTest::Reporters::DefaultReporter.new,
  MiniTest::Reporters::JUnitReporter.new
]