in reply to Re^5: BAIL_OUT with older Test::More
in thread BAIL_OUT with older Test::More
Thanks for letting us know how it seems to be working.
Why not wrap it in a sub and document the sub? That way everything will be in one place and you'll have less to type each time you want to bail.
BTW, If you did want to abort, you could probably do print ....; die - the print to force the bail. The die to abort that particular .t file on the spot. Maybe you could even pass a flag to your sub indicating whether you want to die now or not?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: BAIL_OUT with older Test::More
by Anonymous Monk on Feb 15, 2011 at 20:10 UTC |