|Do you know where your variables are?|
Re: Universal test flagby zwon (Abbot)
|on Jul 17, 2012 at 13:24 UTC||Need Help??|
This approach has a problem -- you won't be testing production code with this flag set e.g.:
If code needs to know that it is being tested, I suspect something wrong with the interface. Also, may be you should have a look onto mocking modules like Test::MockObject.