Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Using Faker for domain based Generators? #99

Open
baig opened this issue Mar 15, 2017 · 4 comments
Open

Suggestion: Using Faker for domain based Generators? #99

baig opened this issue Mar 15, 2017 · 4 comments

Comments

@baig
Copy link

baig commented Mar 15, 2017

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?

@giorgiosironi
Copy link
Owner

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?

@svanpoeck
Copy link

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

@drupol
Copy link

drupol commented Jun 4, 2022

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
Copy link

drupol commented Jun 5, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants