从模式自动生成测试数据到DB? [英] Automatically generated test data to a DB from a schema?
问题描述
我有讨论数据库,我需要大量的测试数据,用于不同尺寸的样品。请参阅准备好的SELECT,JOIN和CREATE查询,请向下滚动链接。
-
如何自动生成测试数据到db?
-
如何在不同大小的样本中产生测试数据?
-
工具?
测试数据:
-
Databene Benerator :支持许多支持JDBC的数据库品牌,使用与DbUnit兼容的XML格式,GPL许可证。
-
超级Smack :最初是MySQL的负载测试工具,它还支持PostgreSQL,它包括一个模拟数据生成器。
- 当前版本的Super Smack似乎在这里
href =http://stackoverflow.com/questions/591892/tools-for-generating-mock-data>问题这里在2月的StackOverflow,上面的两个选择似乎是最好的选择。 p>
I have a discussion-db, and I need a great amount of test data, for different sized samples. Please, see the ready SELECT, JOIN and CREATE-queries, please scroll down in the link.
How can I automatically generate test data to the db?
How to generate test data in different sized samples?
Is there some ready tool?
Here are a couple of suggestions for free tools that generate test data:
Databene Benerator: supports many JDBC-capable database brands, uses XML format compatible with DbUnit, GPL license.
Super Smack: originally a load-test tool for MySQL, it also supports PostgreSQL and it includes a generator of mock data.
- A current version of Super Smack appears to be available here
I asked a similar question here on StackOverflow in February, and the two choices above seemed like the best options.
这篇关于从模式自动生成测试数据到DB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!