-
-
Notifications
You must be signed in to change notification settings - Fork 478
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
Question about failing unit tests #14
Comments
Hi @JvanderStad , right-o and on point, I think your assumption is correct. |
thanks 👍 I'll fix the tests, pr coming soon.. |
You bring up a good point tough... If you checkout |
I've created 2 new methods: Also, I made another branch with lazy loading the Person.. JvanderStad@6695892 |
SUPER cool! Thanks so much. I'll get a release out today for you. |
@JvanderStad You changes are live in v5.0.1 and v5.0.1-beta-2. Thanks again for your contribution! Should appear soon when nuget index catches up. https://www.nuget.org/packages/Bogus/ Brian |
Hi there,
in the locale files there is support for alternative combining of address strings. For example in the locale nl (Dutch) the cities can be combined using the following rules:
https://github.com/bchavez/Bogus/blob/master/Source/Bogus/data/nl.locale.json#L44
Those rules are now hardcoded in https://github.com/bchavez/Bogus/blob/master/Source/Bogus/DataSets/Address.cs#L40
I have commited support for thore rules in the following commit:
JvanderStad@bfb57a0
However, some unittests are failing:
eg:
As far as I understand this is how the unit tests in this project work:
The seed is predetermined and every
Seed.Next()
will return predictable results ( ❔ )Because I have changed the the lookup of string values, the amount of calls to
Seed.Next()
has changed, as a result the unit tests are failing.That's my assumption or am I missing something?
The text was updated successfully, but these errors were encountered: