Re: Test Failure Hooks

2004-12-07 Thread Michael G Schwern
On Tue, Dec 07, 2004 at 09:32:37AM -0800, Ovid wrote: > Is there is anything in the Test::* hierarchy that allows callbacks to > be triggered on test failures? It would be nice to pass a sub that > automatically dies on warnings, prints stack traces, cleans up temp > files (or preserves them) or a

Re: Test Failure Hooks

2004-12-07 Thread Paul Johnson
On Tue, Dec 07, 2004 at 09:32:37AM -0800, Ovid wrote: > Is there is anything in the Test::* hierarchy that allows callbacks to > be triggered on test failures? It would be nice to pass a sub that > automatically dies on warnings, prints stack traces, cleans up temp > files (or preserves them) or

Re: Test Failure Hooks

2004-12-07 Thread Ovid
--- Andy Lester <[EMAIL PROTECTED]> wrote: > Q&D way would be to confess. > > is( $nstooges, 3 ) or confess; Yes, that works, but when I am doing heavy development on a bunch of new code, it's nice to have generic hooks in place to handle such issues even if I don't know before hand which tests

Re: Test Failure Hooks

2004-12-07 Thread Andy Lester
On Tue, Dec 07, 2004 at 09:32:37AM -0800, Ovid ([EMAIL PROTECTED]) wrote: > Is there is anything in the Test::* hierarchy that allows callbacks to > be triggered on test failures? It would be nice to pass a sub that > automatically dies on warnings, prints stack traces, cleans up temp > files (or