Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: A brief question about testing/best practices

by Your Mother (Archbishop)
on Jan 20, 2015 at 17:25 UTC ( [id://1113906]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strictures; # strict + fatal warnings
    use Test::More;
    use Capture::Tiny "capture";
    ...
    };
    
    done_testing(3);
    
  2. or download this
    moo@cow[44]~/>prove pm-1113898 -v
    pm-1113898 .. 
    ok 1 - 1 is ok
    ...
    All tests successful.
    Files=1, Tests=3,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.04 cusr 
    + 0.00 csys =  0.07 CPU)
    Result: PASS
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found