Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2016-10-27 01:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (351 votes). Check out past polls.