Comment on VWparentComments−scintill7610yStill seems kind of fishy, at least without some stated reason why it needs to know it's being tested.−greenyoda10ySee this comment from weinzierl, which has an example of a system that needs to behave differently while in a test environment:https://news.ycombinator.com/item?id=10409417−jsprogrammer10yThe offending code could be obfuscated through all manner of requirements documents.Without being able to see the actual code and requirement documents, all claims about them are pure, idle speculation.
Comments
Still seems kind of fishy, at least without some stated reason why it needs to know it's being tested.
See this comment from weinzierl, which has an example of a system that needs to behave differently while in a test environment:
https://news.ycombinator.com/item?id=10409417
The offending code could be obfuscated through all manner of requirements documents.
Without being able to see the actual code and requirement documents, all claims about them are pure, idle speculation.