On Sun, 2004-02-15 at 17:12, Chad Fowler wrote:
[snip]
> Wonderful! It's not taking nearly as long as I feared to get things
> back into shape. Good idea on the default test. I believe RUnit didn't
> care if you had no tests, whereas Test::Unit does.
I were also quite surprised when I discovered that Test::Unit has a
template method for this senario... it maked me feel good.
I have made further progress, and have brought the number of failing
testcases down from 81 to 26. The primary problem was
Rubyunit#assert_raises which got its first argument prefixed with a
colon. However Testunit#assert_raise don't like this colon.
Also the 'raises' is deprecated.. 'raise' should be used instead.
The remaining problems is more difficult.
--
Simon Strandgaard
========================================================================
All Tests Test Results V0.3.5
========================================================================
Name OK? Tests Asserts Failures Errors
------------------------------------------------------------
Rubicon::TestCase 1 0
AccessControl 3 18
Array 64 471
Arrays 1 0
Assignment FAIL 4 39 3
BasicExpressions 3 15
Bignum 29 1598
Binding 1 0
BlocksProcs FAIL 3 26 1
BooleanExpressions 1 2
CatchThrow 1 1
Class 5 16
Classes 1 0
Comparable 7 26
Constants 2 15
Continuation 5 5
Dir 21 96
Enumerable 17 76
Eval 8 39
Exception 5 14
Exceptions 6 6
FalseClass 6 17
File FAIL 33 321 1
FileTest 4 136
File__Stat 35 357
Fixnum 35 414
Flip 6 28
Float 28 178
Floats 3 34
GC 4 1
Hash 41 269
Hashes 1 0
IO FAIL 53 1239 3
IfUnless 1 2
Integer 9 347
Integers 1 0
Invocation 5 11
KanjiIndex 20 190
Kernel FAIL 108 37808 1
LoopStuff FAIL 15 56 1
Marshal 6 31
MatchData 11 18
Math FAIL 2 62 1
Method 4 11
Methods 2 6
Module FAIL 25 82 6
ModulePrivate FAIL 15 27 8
Modules 1 0
Names 1 0
NilClass 7 20
Numeric 10 21
Object 1 0
ObjectSpace 4 6
PredefinedVariables 1 3
Proc FAIL 4 12 1
Range 10 46
Ranges 1 0
Regexp 14 39
RegularExpressions 3 2993
Scope 12 27
SourceLayout 7 23
String 79 1213
Strings 5 27
Struct 11 47
Struct__Tms 1 9
Symbol 8 20
Symbols 1 0
Thread 33 101
ThreadGroup 4 7
Time 41 1813
TrueClass 6 17
========================================================================
All 71 files FAIL 926 50552 23 3
========================================================================