Bogus and VerifyTests #615
-
Test always fails when working with bogus. I think its because bogus generates new data everytime which does not match with verified snapshot data.
|
Beta Was this translation helpful? Give feedback.
Answered by
TomW-Skyline
Aug 26, 2022
Replies: 1 comment 1 reply
-
To make sure the data that is generated by Bogus is consistent you'll need to set Randomizer.Seed to a constant value. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SimonCropp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To make sure the data that is generated by Bogus is consistent you'll need to set Randomizer.Seed to a constant value.
See https://github.com/bchavez/Bogus#determinism