akr
cbc6a104b2
* lib/test/unit/assertions.rb: extracted from lib/test/unit.rb.
...
lib/test/unit/testcase.rb: ditto.
at asakusa.rb. [ruby-core:20014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11 10:40:24 +00:00
akr
0ebf9b1763
* lib/test/unit: removed test/unit.
...
* lib/test/unit.rb: new compatibility layer using minitest.
* bin/testrb: use above.
* test/runner.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 13:55:09 +00:00
ryan
30e76a6af3
Restored test/unit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-10 01:17:21 +00:00
ryan
3e66bda38e
Removing miniunit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-10 00:56:29 +00:00
yugui
5f898e44a7
* test/mini/test_mini_test.rb: recovered. It had been temporarily removed at r19645.
...
* test/mini/test_mini_mock.rb: ditto.
* test/mini/test_mini_spec.rb: ditto.
* lib/test/**/*: replaced by miniunit.
miniunit had been temporarily reverted at r19643 but now recovred.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 07:30:51 +00:00
yugui
870b93ae9e
Reverts the changes of lib/test/unit.rb in r19502 and r19501.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-30 14:13:23 +00:00
yugui
1af1196616
Reverts the changes of lib/test/unit/* in r19543, r19534 and r19503.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-30 14:13:12 +00:00
ryan
abef077ec7
Added miniunit 1.3.0
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 21:36:05 +00:00
ryan
62c17944c7
Removed test/unit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 21:32:19 +00:00
akr
7d166d26a5
* lib/test/unit/testcase.rb: collect decendants of
...
Test::Unit::TestCase using inherited.
* lib/test/unit/autorunner.rb: don't use ObjectSpace.each_object.
* lib/test/unit/collector/dir.rb: ditto.
* lib/test/unit/collector/objectspace.rb: ditto.
[ruby-core:17126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-04 13:19:24 +00:00
ryan
fa09f2ff02
Applied Laurent's patch to testcase.rb to fix symbol method names
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-21 19:54:28 +00:00
drbrain
7d3fc8ff2b
Rescue Exception in Test::Unit::TestCase#run. [ruby-core:08783]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-09 05:14:40 +00:00
drbrain
52c034aecb
Documentation cleanup.
...
Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:05:50 +00:00
nobu
92f0be2037
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
...
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:19:47 +00:00
ntalbott
b31aeea632
* lib/test/unit/assertions.rb: use #__send__ instead of #send.
...
* lib/test/unit/testcase.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-20 15:45:56 +00:00
ntalbott
47bd3ed9ce
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-02 23:03:13 +00:00
ntalbott
18ef8f1078
* lib/test/unit/assertions.rb: should not capture an
...
AssertionFailedError unless explicitly requested.
* test/testunit/test_assertions.rb: ditto.
* test/testunit/collector/test_objectspace.rb: fixed a test failure
caused by methods being returned in different orders on different
platforms by moving test sorting from TestSuite into the locations
where suites are constructed. [ruby-talk:83156]
* lib/test/unit/testcase.rb: ditto.
* lib/test/unit/testsuite.rb: ditto.
* lib/test/unit/collector/objectspace.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-02 02:20:42 +00:00
ntalbott
3158b75b0b
* lib/test/unit/testcase.rb: Added equality checking.
...
* lib/test/unit/testsuite.rb: Added equality checking.
* lib/test/unit/assertions.rb: Fixed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 14:03:21 +00:00
ntalbott
04f2b8f7bf
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-12 03:12:14 +00:00