I have a very nested model that I want to create 1000 of with fake data. But also some properties in the model need to be in a specific range / have specific rules. I looked at these two fake data generators:
AutoFixture only seems to generate fake data for everything.
Bogus can set rules like ranges for properties but all other properties remain null - or you have to define rules for all of them.
Did I miss something or is it not possible to fill the models with fake data and only set rules for specific properties?
Aucun commentaire:
Enregistrer un commentaire