An open API service indexing awesome lists of open source software.

https://github.com/dalenewman/transformalize.provider.bogus

Fake Input Provider for Transformalize powered by Bogus
https://github.com/dalenewman/transformalize.provider.bogus

bogus etl test-data-generator transformalize

Last synced: 14 days ago
JSON representation

Fake Input Provider for Transformalize powered by Bogus

Awesome Lists containing this project

README

          

This is a [bogus](https://github.com/bchavez/Bogus) input provider for [Transformalize](https://github.com/dalenewman/Transformalize).

It is still a work in progress. Some of the [Bogus API Support](https://github.com/bchavez/Bogus/blob/master/README.md#bogus-api-support) is
implemented. You can use Transformalize arrangements to generate test data
like this:

```xml















```

Saving this as *bogus.xml* and running produces:


c:\> tfl bogus.xml
Identity,FirstName,LastName,Email,Phone,Stars,LastSeen
1,Delores,Brown,Delores.Brown@yahoo.com,(460)120-3539,5,11/20/2017 10:10:14 PM
2,Dakota,Bradtke,Dakota_Bradtke@hotmail.com,(102)209-4891,5,11/21/2017 12:37:18 AM
3,Tanner,Becker,Tanner8@hotmail.com,(682)933-1094,5,11/21/2017 11:59:27 AM
4,Ila,Schamberger,Ila28@gmail.com,(010)148-1661,2,11/21/2017 12:55:25 AM
5,Darren,Ledner,Darren_Ledner@gmail.com,(246)962-0037,4,11/21/2017 3:59:14 AM

If the field's `name` is on the [Bogus API](https://github.com/bchavez/Bogus/blob/master/README.md#bogus-api-support),
fake data is created.

In addition, the `format`, `min`, and `max` attributes
are used to create other forms of test data (e.g. the `Stars` field above).