Just another Perl shrine | |
PerlMonks |
Re^3: Universal test flagby chromatic (Archbishop) |
on Jul 17, 2012 at 17:02 UTC ( [id://982284]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|