2.5.0 - 2012-06-06
It's a bug fix release.
Fixes
* Fixed a backward incompatibility of TestUnitMediator#run_suite introduced
in 2.4.9. [GitHub#28] [Reported by Vladislav Rassokhin]
Thanks
* Vladislav Rassokhin
2.4.9 - 2012-06-03
It's a bug fix release.
Improvements
* Test::Unit.run? -> Test::Unit::AutoRunner.need_auto_run?. Test::Unit.run?
is marked as deprecated but it is still available.
* [experimental] Added top level "run" method for "ruby -rtest-unit -e run
test/test_*.rb". Is this API OK or dirty?
* Made failure output more readable on no color mode.
* Supported showing ASCII-8BIT diff in failure message.
* [ui][console] Supported ENV["TERM"] == "xterm-256color" as color available
terminal. [GitHub#26] [Reported by Michael Grosser]
* [ui][console] Supported "-256color" suffix ENV["TERM"] terminal as 256
color supported terminal.
Fixes
* Fixed a bug that --workdir doesn't work.
* Consumed processed command line parameters in ARGV as --help
says. [RubyForge#29554] [Reported by Bob Saveland]
* Added missing require "test/unit/diff". [GitHub#25] [Reported by Stephan
Kulow]
Thanks
* Bob Saveland
* Stephan Kulow
* Michael Grosser
2.4.8 – 2012-3-6
It's a bug fix release.
* Improvements
- Delayed at_exit registration until Test::Unit is used. [GitHub:#21]
[Reported by Jason Lunn]
- Added workaround for test-spec. [GitHub:#22] [Reported by Cédric Boutillier]
* Fixes
- Fixed an error on code snippet display on JRuby. [GitHub:#19][GitHub:#20]
[Reported by Jørgen P. Tjernø][Patch by Junegunn Choi]
* Thanks
Jørgen P. Tjernø
Junegunn Choi
Jason Lunn
2.4.7 – 2012-2-10
It’s a code snippet improvement release.
* Improvements
- Supported code snippet display on all faults.
2.4.6 – 2012-2-9
It’s a TAP runner separated release.
* Improvements
- Moved TAP runner to test-unit-runner-tap gem from test-unit gem.
- Supported code snippet display on failure.
2.4.5 – 2012-1-16
It’s a failure message readability improvement release.
* Improvements
- Removed needless information from exception inspected text on
failure. It’s for easy to read.
- Supported custom inspector.
2.4.4 – 2012-1-2
It’s a Rails integration improved release.
* Improvements
- [ui][console] Don’t break progress display when a test is failed.
- [ui][console] Added markers betwen a failure detail message in progress to
improve visibility.
- [travis] Dropped Ruby 1.8.6 as a test target. [GitHub:#13] [Patch by Josh
Kalderimis]
- Supported expected value == 0 case in assert_in_epsilon. [RubyForge#29485]
[Reported by Syver Enstad]
- Supported a block style setup/teardown/cleanup.
* Thanks
Josh Kalderimis
Syver Enstad
2.3.2 2011-08-15
----------------
A bug fix release.
Improvements
------------
[ui][console] Added some newlines to improve readability.
Fixes
-----
[ui][console] Worked --verbose again.
Re-supported Ruby 1.8.6. [Reported by James Mead]
Thanks
------
James Mead
Test::Unit 2.x - Improved version of Test::Unit bundled in
Ruby 1.8.x.
Ruby 1.9.x bundles minitest not Test::Unit. Test::Unit
bundled in Ruby 1.8.x had not been improved but unbundled
Test::Unit (Test::Unit 2.x) will be improved actively.
== FEATURES
* Test::Unit 1.2.3 is the original Test::Unit, taken
straight from the ruby distribution. It is being
distributed as a gem to allow tool builders to use it as a
stand-alone package. (The test framework in ruby is going
to radically change very soon).
* Test::Unit 2.x will be improved actively and may break
compatiblity with Test::Unit 1.2.3. (We will not hope it
if it isn't needed.)
* Some features exist as separated gems like GUI test
runner. (Tk, GTK+ and Fox) test-unit-full gem package
provides for installing all Test::Unit related gems
easily.