eris icon indicating copy to clipboard operation
eris copied to clipboard

Suggestion: Using Faker for domain based Generators?

Open baig opened this issue 7 years ago • 4 comments

First of all, thank you for open sourcing such great work.

Do you think it would be a good idea to use Faker for Domain based generators?

baig avatar Mar 15 '17 17:03 baig

Thought about it before. I think it could be an optional dependency, used in some generators. Do you have some sample domains in mind that could benefit?

giorgiosironi avatar Mar 16 '17 23:03 giorgiosironi

Jumping in a bit late, but these domains come to mind: person generation (first|last name, address, phone, email, ...) barcodes random text (lorem ipsum based apparently) real text (very limited though it seems) colour date & time ... For more details check https://github.com/fzaninotto/Faker/blob/master/readme.md

svanpoeck avatar Jul 19 '17 08:07 svanpoeck

I'm working on making my own domain based library and there is a working adapter for faker. It is also fully typed.

I'll publish it soon.

drupol avatar Jun 04 '22 22:06 drupol

You can find the project here: https://github.com/drupol/typed-generators

Just to be clear, this is a test project. The idea is to have something fully typed that can be used in any static analysis testing. It can be used for generating random typed values for sure anywhere else of course.

Let me know what you think.

drupol avatar Jun 05 '22 10:06 drupol