Question

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.

Était-ce utile?

La solution

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.

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top