-
Notifications
You must be signed in to change notification settings - Fork 144
Mock & Fake
Mehdi Hadeli edited this page Dec 15, 2022
·
12 revisions
- https://stackoverflow.com/questions/40820881/how-generate-list-of-string-with-bogus-library-in-c
- https://github.com/nickdodd79/AutoBogus#skipping
- Note: Autobogus doesn't generate values for
readonly
properties - Note:
AggregateId
can't benegative
in ourvalueobject
, and because autofaker will generate some random values maybe it gets a negative value and throws an exception, so we should define a rule here - Note that, should a rule set be used to generate a type, then only members not defined in the rule set are auto generated.