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

Re: Using Data::Dumper in Test-Driven Development

by leriksen (Curate)
on Aug 06, 2004 at 02:18 UTC ( [id://380434]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    is(scalar @{$file->[HPA::LT_Utils::File::_CP]}, 0) or $logger->debug(D
    +umper($file)); # check internal state
    is($file->output, '') or $logger->debug('the output() method seems to 
    +have been borked - ', Dumper($file)); # check interface correctness
    ...
    
  2. or download this
    # test requirement X
    is(....);
    ...
    is(....);
    is(....);
    is(....);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://380434]
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: (4)
As of 2024-04-20 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found