Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Wrapping Test::More assertions in Test::More utility classes?

by silkybones (Initiate)
on Sep 25, 2012 at 15:56 UTC ( #995582=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use MyTestMoreRunner;
     
    ...
    );
    
    $testMoreWrapper->done();
    
  2. or download this
    sub okExplain {
        my ($result, $desc, $dumpMeOnFailure, $moreDiag) = @_;
        $moreDiag ||= ""; 
        ok($result == 1, $desc) || diag(explain($dumpMeOnFailure), $moreDi
    +ag);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://995582]
Approved by Marshall
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (16)
As of 2014-07-22 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (122 votes), past polls