我一直沿着Rails Tutorial下,我想纳入MINITEST记者宝石到我的项目按照指示,section 3.7.1如何使Minitest-Reporters与Rails 5一起工作?
所以,测试/ test_helper.rb中:
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require "minitest/reporters"
Minitest::Reporters.use!
而Gemfile:
group :test do
gem 'minitest-reporters', '1.0.5'
gem 'mini_backtrace', '0.1.3'
gem 'guard-minitest', '2.3.1'
end
我能够正常运行bundle install --without production
。在应用程序(包括测试)其他一切运行顺利,但我没有得到相同的外观/感觉教程:
我怎样才能做到这一点?
仍然无法正常工作。我有4个绿点。每次运行一次,就是这样。没有进度条... – jaysoifer