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:
- Add reference to Faker.dll
- 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.