测试用户数据(假数据) [英] Test User Data (Fake Data)

查看:1099
本文介绍了测试用户数据(假数据)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里可以取得或如何产生可用于测试应用程式的虚假使用者资料(名称,电子邮件地址,位置等)的大型格式化集合?

Where can I get, or how can I generate a large formatted collection of fake user data (names, email address, locations, etc.) that can be used for testing an application?

它可以明显是假的,这将仅限于开发服务器。但我相信任何事情都会比我想出的更好。

It can be clearly fake, this will be limited to the development server. But I'm sure anything would be better than what I could come up with.

推荐答案

这里有一些工具。我之前使用 http://www.generatedata.com/ 为MySql数据库生成数据。 RedGate有一个很好的工具来填充您的SQL Server数据库与测试数据称为 SQL数据生成器。 RedGate工具的费用约为300美元,但还有免费试用。

There are some tools built just for this. I've used http://www.generatedata.com/ before to generate data for MySql databases. RedGate has a nice tool to fill your SQL Server database with test data called SQL Data Generator. The RedGate tool costs about $300, but there is a free trial.

UPDATE:
Faker.js 现已可用。它是一个建立在node.js上的项目,看起来很全面。

UPDATE: Faker.js is now available. It is a project built on node.js, and looks pretty comprehensive.

另一个更新: Mockaroo 非常棒!

如果您希望HTTP API是假用户数据,请查看随机用户生成器

If you'd like an HTTP API of fake user data, check out Random User Generator

这篇关于测试用户数据(假数据)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆