2

Trying to create my own test data generator something like http://www.mockaroo.com/, but I want to add more functionality, like combining sub strings between columns. From the website it looks like it was coded in ruby on rails. Should I try to do that? or on another language

Also is there any source code out there like mockaroo's I can use, just to modify functionality?

Any suggestions would help.

4

2 回答 2

1

我刚刚使用 json-server 和 Retool构建了这个数据生成器https://retool.com/api-generator/ 。

我还想要更多的自定义数据类型,所以这有很多,包括自定义数组构建器。然后,它会在您定义的示例数据集之上生成一个带有读写端点的 REST API。

随意使用它,或者您可以复制应用程序并将其编辑到您自己的数据生成器中!

于 2021-04-02T15:27:19.650 回答
0

我会考虑使用带有“faker”gem 的 Ruby on Rails,或者可能是带有 perl 的 Data::Faker 模块的 Dancer(一个现代轻量级 perl Web 框架),这就是 faker gem 的灵感来源。

于 2013-09-25T19:33:09.690 回答