Fill the c# class by random data.
Pretend is an online developer tool. Fills the c# classes with random data based on property types. It makes it easy to test your methods, api endpoints and functions. We usually use this tool to fill data transfer objects (DTO) when writing unit tests.
Open Pretend to try it out.
- Indentation and Syntax Highlighting
- Supports Default Property Value
- Random Data Settings
- Sorts Class Properties by Name
The default values you define to properties are supported by Pretend.
public string Test { get; set; } = "Property Default";
New instances are created for the list, dictionary, struct, enum, and class types.
OrderHistory = new List<History>()
The MIT License.
Barış Ateş - http://barisates.com