Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Bailing out from Test::More after 'some' failures

by exodist (Monk)
on May 16, 2019 at 21:20 UTC ( #11100128=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        sub mytool {
          my $ctx = context();
    ...
          $ctx->diag(...);
          $ctx->release; # This is where the bail-on-fail is triggered
        }
    
  2. or download this
        sub mytool {
          $tb->ok(...); # BailOnFail is triggered here
          $tb->diag(...); # Lost
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11100128]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-11-30 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?