--- Adam Kennedy <[EMAIL PROTECTED]> wrote: > If we're concerned about losing the diagnostics, then just have it > fail > on the NEXT test... > > Put the... > > if ( any failures ) { bail out } > > ... at the beginning of the ok call, not at the end.
FYI: That was Aristotle's suggestion and that's exactly what Test::Most does (well, that and a DESTROY block to keep identical semantics if there is no next test). Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/