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

Re: Eliminating duplicated code in multiple test scripts using Test::More

by tobyink (Canon)
on Jul 20, 2013 at 08:45 UTC ( [id://1045432]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub should_pass {
      my ($value, $constraint) = @_;
    ...
    
    should_pass(2222222, Int);
    should_fail(3.14159, Int);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found