Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982284]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-05-28 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?