Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Further adventures with testing

by Ovid (Cardinal)
on Sep 25, 2002 at 23:48 UTC ( #200767=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    # testing null information
    my @results = $sec->validate( $mock );
    ok( ! @results, 'No cookie, user, or pass should fail to validate');
    
  2. or download this
    sub add_product {
        my ( $self, $data ) = @_;
    ...
        );
        $self->_generic_insert( \%category, 'category_product', COMMIT );
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-10-01 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (38 votes), past polls