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
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
--- 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
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