Hacker News new | ask | show | jobs
by e28eta 4160 days ago
I've done something similar at work, primarily to generate random data that'll pass our validation checks (real cities, valid SSN, etc).

It seems strange to me that the email address and usernames in the samples are based on a person's name, but they're different from the user's actual name.

I chose to just take the name, and transform it for the email address. I think some consistency will make it easier to test that the right user data shows up in the right places while testing.

1 comments

sounds interesting and useful.. is your code open-source? Can we see your work?