Random seed configuration
mrylmz opened this issue · 3 comments
mrylmz commented
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 commented
Sounds like a great feature to have. Feel free to make a pull request if you're up for it.
grigorye commented
Controlling the seed is probably also relevant in context of property-based testing, like in SwiftCheck.