No commit activity in last 3 years
No release in over 3 years
This library implements test/unit compatible API on minitest. It was included in Ruby until 2.1The test/unit means that test/unit which was bundled with Ruby 1.8.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.7
 Project Readme

Build Status

minitest wrapper for Test::Unit

Between Ruby 1.9 and 2.1, Ruby came with a wrapper around minitest to provide the same interface of Test::Unit that was available with Ruby 1.8. Ruby 2.2 comes with bundled gems of Test::Unit, but this is not the wrapper. Some tests for the wrapped Test::Unit actually used minitest features which are not available in the real thing, for example some assertions of Rails 4.0.

This is a copy of the Wrapper from Ruby 2.1 as written by Shota Fukumori. The License is same as Ruby's.

I don't plan to maintain this for a long time. If possible, use minitest directly.

Usage

If the tests require the correct files from Test::Unit, just drop this in your Gemfile:

gem 'test-unit-minitest', require: nil

Otherwise this:

gem 'test-unit-minitest', require: 'test/unit'