0.03
A long-lived project that still receives updates
Rails supports Minitest but doesn't support test-unit.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

test-unit-rails

Web site

Description

test-unit-rails is a Rails adapter for test-unit gem. You can use full test-unit gem features, RR integration and Capybara integration with test-unit-rails.

Rails supports Minitest but doesn't support test-unit.

Install

Add the following codes to your Gemfile:

group :development, :test do
  gem 'test-unit-rails'
end

Update bundled gems:

% bundle update

Replace "require 'rails/test_help'" in your test/test_helper.rb with the following codes:

# require 'rails/test_help'
require 'test/unit/rails/test_help'

Now you can use full test-unit gem features, RR integration and Capybara integration.

License

LGPLv2.1 or later.

(Kouhei Sutou has a right to change the license including contributed patches.)

Authors

  • Kouhei Sutou
  • Haruka Yoshihara