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

Random seed configuration #104

Open
mrylmz opened this issue Dec 4, 2018 · 3 comments
Open

Random seed configuration #104

mrylmz opened this issue Dec 4, 2018 · 3 comments

Comments

@mrylmz
Copy link

mrylmz commented Dec 4, 2018

It would be really nice to have a feature to setup Fakery with a seed to guarantee the generation of same data on every reseed with same value.

In case of data generation for Unit-Tests or UI-Tests this would be a really helpful feature to avoid the usage of static string literals inside the tests.

Are there any plans to add new features?

@vadymmarkov
Copy link
Owner

Sounds like a great feature to have. Feel free to make a pull request if you're up for it.

@grigorye
Copy link

grigorye commented Jan 21, 2019

Controlling the seed is probably also relevant in context of property-based testing, like in SwiftCheck.

@julasamer
Copy link

It's been a long time, but here's a pull request: #148

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

No branches or pull requests

4 participants