7 ms·
Not to mention there are already some good libraries in popular languages that are capable of doing most of the hard work: Perl - Data::Faker - http://search.c
by bradleyland 16y ago
Not to mention there are already some good libraries in popular languages that are capable of doing most of the hard work:
Perl - Data::Faker - http://search.cpan.org/~jasonk/Data-Faker-0.07/lib/Data/Faker.pm http://search.cpan.org/~jasonk/Data-Faker-0.07/lib/Data/Fake...
Ruby Gem - Faker - http://faker.rubyforge.org/ http://faker.rubyforge.org/
Bonus round!
Ruby Gem - Populator - http://github.com/ryanb/populator http://github.com/ryanb/populator
Faker generates "fake" values, while Populator provides some nice constructs for using collections/ranges of data for your fields.
- mindcrime 16y agoI wrote something like this for myself a while back, then stuck it up on GitHub. Its written in Java and generates all sorts of "user" related data. Addresses, emails, etc. Can also generate social-graph connections between the generated users. DummyDataGenerator: http://github.com/mindcrime/dummydatagenerator http://github.com/mindcrime/dummydatagenerator