From: Ryan Leavengood Date: 2005-11-23T02:34:30+09:00 Subject: Re: Proposed new feature: Drop to debugger on failed test On 11/22/05, Florian Gro� wrote: > > I have thought about doing it with ruby-breakpoint, but it turned out > that I would have to replace the definition of all the assertion methods > from Test::Unit which was a bit too much overhead. > > If anyone has a better idea of how to accomplish this I would be very > happy to integrate it. How about adding your own initialize to AssertionFailedError? class AssertionFailedError < StandardError def initialize(*a) super(*a) # Do your stuff here end end Ryan