vadymmarkov/Fakery

Random seed configuration

mrylmz opened this issue · 3 comments

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?

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

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

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