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

Create static data #140

Open
mdarefull opened this issue Oct 9, 2018 · 0 comments
Open

Create static data #140

mdarefull opened this issue Oct 9, 2018 · 0 comments

Comments

@mdarefull
Copy link

mdarefull commented Oct 9, 2018

One of the pain of unit testing is the need to build fake data (entities, dtos) to be passed to the SUT.
One of the requirements of a unit test is that it should be repeatable, so we cannot generate different input on each test execution.

IMO, it will be great if there is some addition to the library to make (at least) its ListOf a pure function: It should generate exactly the same set of data on each execution, perhaps based on a seed parameter, much like pseudo random number generators work.

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

1 participant