Michael Ludwig schrieb am 29.03.2011 um 23:05 (+0200): > Andrew Moore schrieb am 29.03.2011 um 15:51 (-0500): > > On Tue, Mar 29, 2011 at 3:46 PM, Michael Ludwig <mil...@gmx.de> > > wrote: > > > In a test script, tests may build up intermediate results which > > > later tests depend upon. Imagine the following interacts with a > > > web service so if something fails you don't want to waste time > > > making network calls to execute stuff which will fail anyway. > > > > Perhaps the 'bail_on_fail' or 'die_on_fail' functions from > > Test::Most would help you here?
http://search.cpan.org/dist/Test-Most/lib/Test/Most.pm#DIE_OR_BAIL_ON_FAIL People want more control over their test suites. Sometimes when you see hundreds of tests failing and whizzing by, you want the test suite to simply halt on the first failure. Exactly. -- Michael Ludwig