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?

That's very convenient.

And it also seems to confirm that die() is the proper way to jump out
of a test script (but not of the entire suite) when running it further
doesn't make sense.

Thanks!
-- 
Michael Ludwig

Reply via email to