Re:Things I Learnt from a Senior Software Engineer
by dgritsko on Monday August 26, 2019 @12:08PM
(#20800965)
I've certainly read apocryphal stories (perhaps on HN, can't remember) about offensive data being used in test cases "as a joke" and due to a variety of reasons having that data end up in production systems (visible to customers). I'm all for a bit of humor, but it's worth thinking about the issues that might be caused were your fake data to wind up on a production site.
[ Parent
| on HN ]
Re:Things I Learnt from a Senior Software Engineer
by philwelch on Monday August 26, 2019 @12:54PM
(#20801450)
I wouldn't use offensive humorous test data, but using obviously fake humorous test data makes it easier to detect and mitigate those kinds of situations. If for some reason I noticed that all of my production data came from an obscure browser that called itself "The Thrilla In Mozilla", that would be a lot more noticeable and easier to correct than if my test user-agent string was just Chrome or whatever.