Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
There's more than one way to do things
 
PerlMonks  

Re^3: Universal test flag

by chromatic (Archbishop)
on Jul 17, 2012 at 17:02 UTC ( #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.


Comment on Re^3: Universal test flag

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-04-21 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls