ObjectHydrator
ObjectHydrator copied to clipboard
This project allows you to pass custom POCO's to it, and have it return an instance of the class populated with randomly generated data. This random data can be overridden by convention.
add project port V2 to support Dot net core
I have an object which is nested: ``` Record: String email; Person person; Person: String FirstName; ``` the email gets generated but the FirstName inside the Person remains Null. any...
In current implementation, we have a check for interfaces but not for abstract classes. Therefore, if I have an abstract class type field then Hydrator tries to instantiate it and...
It seems that Hydrator is always using first Enum value instead of selecting the values randomly.
Let's say I have a class like this class Test { byte PropertyReturnsByte{get;set; } Then using new Hydrator().With(x=>x.PropertyReturnsByte, 1) ; will throw InvalidCastException Unable to cast object of type 'System.Linq.Expressions.UnaryExpression'...
It may be related to the TextGenerator's lorem ipsum having a length of 907. I see that you cap the length in one of TextGenerator's constructors, but I also see...
Hi, arriving to you from your original post at: http://stackoverflow.com/questions/1413342/are-there-any-tools-to-populate-class-properties-with-random-data i tried todo the same thing and to create this project until i found yours, the problem is i still...
Hi, Neat project - this could really help me out :-) Is it possible to generate on value based on the value of other properties? For example: I have a...