Rails supports Minitest but doesn’t support test-unit.
Add the following codes to your Gemfile:
group :development, :test do
Update bundled gems:
% bundle update
"require 'rails/test_help'" in your test/test_helper.rb with the following codes:
# require 'rails/test_help'
Now you can use full test-unit gem features, RR integration and Capybara integration.
LGPLv2.1 or later.
(Kouhei Sutou has a right to change the license including contributed patches.)
- Kouhei Sutou
- Haruka Yoshihara