1 enhanchement
support auto runner prepare hook.
1 bug fix
re-work tap runner.
Thanks
Daniel Berger
1 bug fix
global config file ignored
Thanks
Daniel Berger
5 major enchancements
collect *_test.rb and *-test.rb files as test files.
improve assert_in_delta message.
show string encoding in assert_equal failure message if they are different.
change default color scheme:
success: green back + white
failure: red back + white
add capture_output.
2 bug fixes
fix a bug that console runner on verbose mode causes an error for long test name (>= 61).
Autorunner ignores all files in a directory named test by default
Thanks
Florian Frank
David MARCHALAND
4 major enhancements
detect redefined test methods.
multiple –name and –testcase
options narrow down targets instead of adding targets.
accept custom test_order for each test case.
ignore omitted tests from ‘n% passed’ report.
2 minor enchancements
ignore .git directory. [Suggested by Daniel Berger]
require ‘fileutils’ and ‘tmpdir’ lazily for non-priority
mode users. [Suggested by David MARCHALAND]
2 bug fixes
modify processed arguments array destructively.
work without HOME environment variable.
Thanks
David MARCHALAND
Daniel Berger
Bob Saveland
Champak Ch
3 major enhancements
Declarative syntax? [Daniel Berger]
support declarative syntax:
test "test description in natural language" do ... end
support test description:
description "test description in natural language" def test_my_test ... end
make max diff target string size customizable by TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE environment variable.
2 bug fixes
omit_if unexpected behavior [David MARCHALAND]
fix a bug that tests in sub directories aren’t load with –basedir.
Thanks
David MARCHALAND
Daniel Berger
1 bug fixes
fix diff may raise an exception. [Erik Hollensbe]
Thanks
Erik Hollensbe
4 major enhancements
use ~/.test-unit.yml as global configuration file.
add TAP runner. (–runner tap)
support colorized diff:
add Test::Unit::AutoRunner.default_runner= to specify default test runner.
4 minor enhancements
improve verbose mode output format. (use indent)
support NOT_PASS_THROUGH_EXCEPTIONS.
support arguments option in #{runner}_options.
TC_ -> Test in sample test case name.
1 bug fixes
test-unit-2.0.3 + ruby-1.9.1 cannot properly test
DelegateClass subclasses [Mike Pomraning]
Thanks
Mike Pomraning
6 major enhancements
add assert_predicate.
add assert_not_predicate.
assert_kind_of supports an array of classes or modules.
assert_instance_of supports an array of classes or modules.
add –default-priority option.
add –order option. [Daniel Berger]
4 minor enhancements
use yellow foreground + black background for error.
don’t show diff for long string.
accept “*term-color” TERM environment as colorizable terminal. (e.g. Apple’s Terminal)
add a workaround for test-spec’s after_all. [Angelo Lakra]
1 bug fix
re-support ruby 1.9.1. [Diego Pettenò]
Thanks
Diego Pettenò
Daniel Berger
Angelo Lakra
2 major enhancements
re-support ruby 1.8.5.
improve exception object comparison.
3 bug fixes
[#22723]: collector fails on anonymous classes
[#22986]: Test names with ‘?’ blow up on Windows
[#22988]: don’t create .test-result on non-priority mode.
Thanks
Erik Hollensbe
Daniel Berger
Bill Lear
19 major enhancements
support ruby 1.9.1.
add run_test method to be extensible.
improve priority-mode auto off.
improve startup/shutdown RDoc. [Daniel Berger]
add assert_compare. [#20851] [Designing Patterns]
add assert_fail_assertion. [#20851] [Designing Patterns]
add assert_raise_message. [#20851] [Designing Patterns]
support folded diff.
add assert_raise_kind_of. [Daniel Berger]
ingore inherited test for nested test case.
add assert_const_defined.
add assert_not_const_defined.
support assert_raise with an exception object.
support assert_raise with no arguments that asserts any exception is raised. [#22602] [Daniel Berger]
support folded dot progress.
add –progress-row-max option.
support color scheme customize.
support configuration file. (YAML)
recognize test-XXX.rb files as test files not only test_XXX.rb
Thanks
Daniel Berger
Designing Patterns
15 major enhancements
support startup/shutdown. (test case level setup/teardown)
support multiple setup/teardown.
support pending.
support omission.
support notification.
support colorize.
support diff.
support test attribute.
add assert_boolean.
add assert_true.
add assert_false.
add –priority-mode option.
don’t use ObjectSpace to collect test cases.
make more customizable. (additional options, exception handling and so on)
improve Emacs integration.
4 major changes
remove GTK+1 support.
split GTK+ runner as another gem.
split FOX runner as another gem.
split Tk runner as another gem.
1 major enhancement
Birthday (as a gem)!
Generated with the Darkfish Rdoc Generator 2.