----- Original Message ----
> From: Matisse Enzer <[EMAIL PROTECTED]>

> This reminds me - I was wondering what it would take to implement a  
> "BAIL_ON_FAIL" approach to running a test suite - a settings that  
> determines how many failures before the whole test run stops. Default  
> would be to keep running no matter how many failures, but you could  
> set it to 1 and then bam, the whole test run stops on the frst failure.

Should be fairly easy to implement with the new Test::Harness.  What syntax 
would be desired?  Also, it seems to me that you've two different cases.  Have 
the entire suite BAIL_ON_FAIL or have an individual test program halt on 
failure.  The latter seems much more useful to me.

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/


Reply via email to