Sha256: b719d3591d64f6df1c9c09849a65d50e4f33ed8eae751b65537d8075afa85118

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

h1. test-unit-rails

"Web site":http://test-unit.github.io/#test-unit-rails

h2. Description

test-unit-rails is a Rails adapter for test-unit 3. You can use full test-unit 3 features, "RR":https://rubygems.org/gems/rr integration and "Capybara":https://rubygems.org/gems/capybara integration with test-unit-rails.

Rails supports Test::Unit bundled in Ruby 1.8 and MiniTest but doesn't support test-unit 2. Rails with test-unit 2 works but is not fully worked.

h2. Install

Add the following codes to your Gemfile:

<pre>
group :development, :test do
  gem 'test-unit-rails'
end
</pre>

Update bundled gems:

<pre>
% bundle update
</pre>

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

<pre>
# require 'rails/test_help'
require 'test/unit/rails/test_help'
</pre>

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

h2. License

LGPLv2.1 or later.

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

h2. Authors

* Kouhei Sutou
* Haruka Yoshihara

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
test-unit-rails-5.0.2 README.textile
test-unit-rails-5.0.1 README.textile
test-unit-rails-5.0.0 README.textile
test-unit-rails-1.0.4 README.textile
test-unit-rails-1.0.3 README.textile