Skip to content

FakerSharp is a library to generate fake data (useful for tests)

Notifications You must be signed in to change notification settings

officedrop/FakerSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FakerSharp

This is the FakerSharp readme file. This is a Port of the so-famous faker gem for ruby, to C# / .NET.

Requirements

  • .NET Framework >= 4.0
  • Visual Studio 2010 (to open solution file and run tests)

Usage

Add the file FakerSharp.dll as a dependency, and follow the examples below:

// this will generate something like: "john.doe@gmail.com" or "doe_john@yahoo.com"
string email = FakerSharp.Internet.GetFreeEmail("John Doe");

// i.e. 192.168.15.24
string ipAddress = FakerSharp.Internet.IPV4Address;

For further examples, look and run the unit tests included in the project.

About

FakerSharp is a library to generate fake data (useful for tests)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages