Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test data generation framework in python? [closed]

Is there any "test-data" generation framework out there, specially for Python?

To make it clear, instead of writing scripts from scratch that fill my database with random users and other entities I want to know if there are any tools/frameworks out there to make it easier,

To make it even more clear, I am not looking for test frameworks, I want to generate test data to "put some load" my application.

like image 614
Ali Avatar asked Dec 26 '22 23:12

Ali


2 Answers

http://code.google.com/p/fake-data-generator/ Looks like what you want. I tend to just use ranges with appropriate upper and lower limits and liberal use of lists. If you need your test data to match the distribution of your population then you'll need to do more work though.

like image 136
frackham Avatar answered Jan 15 '23 15:01

frackham


If you don't want to write any code, try Mockaroo. It's a free web app that allows you to generate random test data tables in lots of different formats such as XML, JSON, Excel, CSV. You are allowed to generate up to 1000 rows for free.

like image 29
mockaroodev Avatar answered Jan 15 '23 15:01

mockaroodev