From: Ron Jeffries Date: 2006-09-21T10:20:06+09:00 Subject: testunit message override? If this assert fails: assert_equal(Date.new(2006,4,15), calc.disbursal_date) it prints something like: test_PayFifteenthAfterQuarter(ProjectTest) [./projecttest.rb:13]: <#> expected but was <#>. With the dates in a rather odd format, as you see above. Yet Date's to_s method is perfectly reasonable. I looked in the TestUnit docs for AssertionMessage, called by build_message, but if it's in there I couldn't find it. If I ever knew how to override TestUnit's printing, I've forgotten how. Please remind me what's going on or point me to it. Thanks, -- Ron Jeffries www.XProgramming.com I'm giving the best advice I have. You get to decide if it's true for you.