Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by guha (Priest)
on Aug 05, 2004 at 08:50 UTC ( #380214=note: print w/ replies, xml ) Need Help??


in reply to Using Data::Dumper in Test-Driven Development

I usually do

ok( $thing->model, $model ) or diag Dumper $thing;
which outputs to STDERR and saves one keystroke ;-)

This way you are guaranteed that your output won't interfere with the tests, even though I'm pretty certain that the Dumper output will not interfere.


Comment on Re: Using Data::Dumper in Test-Driven Development
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-10-23 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls