Directory | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 158 (100.0%) | 6289 (100.0%) | 39.8 |
lib/test/unit/ | 38 (24.1%) | 1365 (21.7%) | 35.9 |
test/testunit/ | 17 (10.8%) | 1203 (19.1%) | 70.7 |
test/testunit/runit/ | 5 (3.2%) | 703 (11.2%) | 140.6 |
test/testunit/collector/ | 8 (5.1%) | 536 (8.5%) | 67.0 |
lib/test/ | 7 (4.4%) | 446 (7.1%) | 63.7 |
lib/test/unit/ui/gtk/ | 3 (1.9%) | 392 (6.2%) | 130.6 |
lib/test/unit/ui/fox/ | 2 (1.3%) | 270 (4.3%) | 135.0 |
/ | 24 (15.2%) | 249 (4.0%) | 10.3 |
lib/runit/ | 13 (8.2%) | 212 (3.4%) | 16.3 |
test/testunit/util/ | 5 (3.2%) | 180 (2.9%) | 36.0 |
lib/test/unit/util/ | 6 (3.8%) | 178 (2.8%) | 29.6 |
lib/test/unit/collector/ | 7 (4.4%) | 144 (2.3%) | 20.5 |
lib/test/unit/ui/console/ | 3 (1.9%) | 137 (2.2%) | 45.6 |
lib/test/unit/ui/ | 6 (3.8%) | 113 (1.8%) | 18.8 |
sample/testunit/ | 5 (3.2%) | 68 (1.1%) | 13.6 |
lib/runit/cui/ | 2 (1.3%) | 51 (0.8%) | 25.5 |
test/ostruct/ | 1 (0.6%) | 23 (0.4%) | 23.0 |
lib/ | 4 (2.5%) | 16 (0.3%) | 4.0 |
test/ | 2 (1.3%) | 3 (0.0%) | 1.5 |
* test/testunit/collector/test_dir.rb: Fixed test/unit tests that
were breaking due to Module#public_instance_methods now
returning a Symbol instead of a String.
* test/testunit/collector/test_objectspace.rb: Ditto.
17 lines of code changed in:
* lib/test/unit/collector.rb (collect_file): now deletes paths added
to $LOAD_PATH instead of restoring it verbatim.
* lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that
'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace
collector again. Also tried to simplify the calling convention.
* test/runner.rb: adjusted for new AutoRunner semantics.
* lib/test/unit.rb: ditto.
29 lines of code changed in:
* lib/test/unit/assertions.rb: renamed #assert_raises to #assert_raise
and made the former call the latter. [ruby-core:01890]
* test/testunit/test_assertions.rb: ditto.
30 lines of code changed in:
* lib/test/unit/assertions.rb: fixed #assert_no_match message.
* test/testunit/test_assertions.rb: ditto.
16 lines of code changed in:
* lib/test/unit/util/backtracefilter.rb: fixed a bug that occurred
when an exception had no backtrace.
* test/testunit/util/test_backtracefilter.rb: ditto.
15 lines of code changed in:
* lib/test/unit/assertions.rb: use #__send__ instead of #send.
* lib/test/unit/testcase.rb: ditto.
11 lines of code changed in:
* lib/test/unit.rb: do not run tests if $! is set.
* lib/test/unit/assertionfailederror.rb: extend StandardError instead
Exception (irb catches the former but not the latter).
9 lines of code changed in:
* lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.
5 lines of code changed in:
* lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handle
the case when the requested font is not available.
8 lines of code changed in:
* lib/test/unit/assertions.rb: un-deprecated #assert_not_nil to
maintain symmetry with #assert_nil. Also added better output for
#assert_kind_of.
* test/testunit/tc_assertions.rb: ditto.
18 lines of code changed in:
* lib/test/unit.rb: removed installation instructions.
* lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more
central location.
* lib/test/unit.rb: ditto.
* lib/test/unit.rb: extracted the running code in to AutoRunner.
* lib/test/unit/autorunner.rb: added.
* lib/test/unit/collector/objectspace.rb: extracted common test
collection functionality in to a module.
* lib/test/unit/collector.rb: ditto; added.
* test/testunit/collector/test_objectspace.rb: ditto.
* lib/test/unit/collector/dir.rb: added. Supports collecting tests out
of a directory structure.
* test/testunit/collector/test_dir.rb: added.
* test/runner.rb: simplified to use the new capabilities.
775 lines of code changed in:
* test/testunit/runit/test_testresult.rb: removed some unnecessary
cruft.
6 lines of code changed in:
* lib/rubyunit.rb: aliasing TestCase into the top level is
problematic.
* lib/runit/assert.rb: fixed a couple of bugs caused by recent
refactoring in Test::Unit.
* test/testunit/runit/*: added.
721 lines of code changed in:
* lib/test/unit/assertions.rb: will use pp for output if available.
Can be disabled by setting Assertions.use_pp = false.
* test/testunit/test_assertions.rb: made a small change to exception
formatting.
41 lines of code changed in:
* lib/test/unit/assertions.rb: made small improvements to assertion
messages. Deprecated Assertions#assert_not_nil; use #assert instead.
* test/testunit/test_assertions.rb: ditto.
* test/testunit/util/test_procwrapper.rb: use #assert instead of
#assert_not_nil.
100 lines of code changed in:
* lib/test/unit/assertions.rb: refactored message building.
98 lines of code changed in:
* lib/test/unit/assertions.rb: changed assertion messages to rely more
heavily on #inspect. Added backtrace filtering for exceptions in
assertion messages.
* test/testunit/test_assertions.rb: ditto.
106 lines of code changed in:
* lib/test/unit/testsuite.rb: changed #<< to return self, and added
#delete.
* test/testunit/test_testsuite.rb: ditto. Also slightly refactored
#test_size.
* lib/test/unit/collector/objectspace.rb: collector now preserves the
hierarchy of suites.
* test/testunit/collector/test_objectspace.rb: ditto.
63 lines of code changed in:
* lib/test/unit.rb: refactored to use optparse.
* lib/test/unit.rb: added support for selecting the output
level from the command-line.
* lib/test/unit.rb: added a command-line switch to stop processing
the command-line, allowing arguments to be passed to tests.
* lib/test/unit.rb: changed the method for specifying a runner or a
filter from the command-line.
* lib/test/unit/collector/objectspace.rb: fixed a bug causing all
tests to be excluded when the filter was set to an empty array.
* test/testunit/collector/test_objectspace.rb: ditto.
111 lines of code changed in:
* lib/test/unit/assertions.rb: added a default message for #assert,
#assert_block, and #flunk.
* test/testunit/test_assertions.rb: ditto.
* lib/test/unit/failure.rb: failures now show a better trace of where
they occurred.
* test/testunit/test_failure.rb: ditto (added).
* lib/test/unit/testcase.rb: ditto.
* test/testunit/test_testcase.rb: ditto.
* lib/test/unit/util/backtracefilter.rb: added.
* test/testunit/util/test_backtracefilter.rb: added.
* lib/test/unit/error.rb: changed to use BacktraceFilter and improved
output.
* test/testunit/test_error.rb: ditto.
219 lines of code changed in:
(6 more)