You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: