2.5.4 - 2013-01-23
It's a bug fix release.
Improvements
* Added documents for data driven test functionality.
* Added TSV support for data driven test functionality.
* Support tag inspection on JRuby.
Fixes
* Fixed a bug. It is too slow to filter tests when there are many tests. [GitHub#46]
* Accept anonymous test suite. [GitHub:#49] [Reported by Matthew Rudy Jacobs]
Thanks
* Matthew Rudy Jacobs
2.5.3:
It's an release for minitest compatibility and bug fix.
Improvements
* Supported diff in invalid encoding.
* Added some assersion methods just for minitest compatibility. Added methods
are assert_includes(), refute_*() and refute(). If you are test-unit user,
please don't use them. [GitHub#40] [Suggested by Michael Grosser]
* Added --attribute option to select target tests by attribute.
[test-unit-users-en:00098] [Suggested by Piotr Nestorow]
Fixes
* Allowed use of test for inheritance in
ActionController::TestCase. [GitHub#42] [Patch by David Rasch]
* Ensured evaluating at_exist block in top level. In IRB context, exit()
specifies irb_exit(). [test-unit-users-en:00089] [Reported by Daniel Berger]
* Fixed a bug that decoration style description is ignored. "decoration style
description" are using description method above "def test_name" or with
Symbol specifying test_name. [GitHub#45] [Reported by Piotr Nestorow]
Thanks
* Michael Grosser
* David Rasch
* Daniel Berger
* Piotr Nestorow
- Update HOEPAGE.
2.5.2 -- 2012-08-29
It's an improvement release for tmtms. --location is a similar feature to
--line_number in RSpec. sub_test_case is a similar feature to context in
shoulda-context and RSpec. Improvements
* Cleaned up tests. [GitHub#34] [Patch by Michael Grosser]
* Added missing background color for 8 color environment.
* Added workaround for NetBeans. [GitHub#38] [Reported by Marc Cooper]
* Added --location command line option that selects target tests by test
defined location.
* Created sub test suite for each subclassed test case.
* [ui][console] Supported nested test suites.
* Added Test::Unit.at_start and Test::Unit.at_exit hooks that are run
before/after all tests are run. [Good hook name is suggested by kdmsnr]
* Improved code snippet target on failure. Test method is always used for code
snippet target. [GitHub#39] [Suggested by Michael Grosser]
* Added Test::Unit::TestCase.sub_test_case that creates sub test case. The sub
test case name isn't limited Ruby's constant name rule. You can specify the
sub test case name in free form.
Thanks
* Michael Grosser
* Marc Cooper
* kdmsnr
2.5.1 -- 2012-07-05
It's a bug fix release.
Improvements
* Supported installing from GitHub. [GitHub#29] [Suggested by Michael Grosser]
* Supported ActiveSupport::TestCase. [GitHub#30] [Reported by Michael Grosser]
* [ui][console] Improved multiline falut message display.
Fixes
* [ui][console] Fixed a bug that expected and actual values are
empty. [GitHub#31][GitHub#33] [Reported by Kendall Buchanan][Reported by
Mathieu Martin] [Hinted by Michael Grosser]
* Fixed a bug that .gemspec can't be loaded on LANG=C. [RubyForge#29595]
[Reported by Jean-Denis Koeck]
Thanks
* Michael Grosser
* Kendall Buchanan
* Mathieu Martin
* Jean-Denis Koeck
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
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.