From: Johan Holmberg Date: 2003-06-19T21:23:03+09:00 Subject: Re: Test::Unit: assert in loop ? mike@ratdog.stok.co.uk (Mike Stok) writes: > > > >It is impossible for me to tell which entry in @@table that caused the > >error. I don't know if there is some other way I could have written my > >tests to see this ? > > You can add a message to the assertiom e.g. > > assert_equal( sum, a+b, "Testing #{a} + #{b} = #{sum}" ) > Thanks !! I totally forgot that possibility. I was too much in "Perl mode" and expected builtin support for this in Test::Unit the same way as there ... (I still think it would be a good thing to add to Test::Unit) /Johan Holmberg