Skip to content

barisates/pretend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pretend

Fill the c# class by random data.

Intro

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.

Features

  • Indentation and Syntax Highlighting
  • Supports Default Property Value
  • Random Data Settings
  • Sorts Class Properties by Name

Pretend

Usage Examples

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>()
Dependencies
License

The MIT License.

Barış Ateş - http://barisates.com