Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Universal test flag

by chromatic (Archbishop)
on Jul 17, 2012 at 17:02 UTC ( [id://982284]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Universal test flag
in thread Universal test flag

Refactoring to make code perfectly testable is not always an option...

... but writing more code is an option?

If you have to write extra code in the code you're testing that only gets executed in test mode, I think your confidence in the test results goes down.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found