Faker

Faker is a .NET library used to generate fake data - names, addresses, e-mails, dates etc.

NameFaker.Name() => 'Brian Clark'

You can use Faker to generate data to populate database during early states of developement or to unit test your code with some meaningfull test data.

Faker is inspired, and has features borrowed from Perl::Faker library and the excellent random-data library for Ruby.

Usage

Faker is a bunch of static classes residing in Faker namespace.

Here is how to use:
  1. Add reference to Faker.dll
  2. Call Faker static methods to create fake data

You can check usage examples by running tests (run these with NUnit) provided in FakerTests.dll in a Faker distribution.

Last edited Oct 26, 2008 at 7:54 AM by sasabrankovic, version 8