UglyToad.MakeMe 0.2.2

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5
Install-Package UglyToad.MakeMe -Version 0.2.2
dotnet add package UglyToad.MakeMe --version 0.2.2
<PackageReference Include="UglyToad.MakeMe" Version="0.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UglyToad.MakeMe --version 0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UglyToad.MakeMe, 0.2.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install UglyToad.MakeMe as a Cake Addin
#addin nuget:?package=UglyToad.MakeMe&version=0.2.2

// Install UglyToad.MakeMe as a Cake Tool
#tool nuget:?package=UglyToad.MakeMe&version=0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.



Build status


Build status

A test data generator for creating meaningful randomised data. Intended to be used for filling databases with data, providing data for automation tests and for integration tests.

Currently generates the following:

  • Dates - with or without time component.
  • Names - names which are are sometimes sort-of pronounceable, not just random combinations of letters.
  • Postal Codes - valid format UK postcodes, generic 5 digit postcodes for other countries and 6 digit postcodes for India.
  • Numbers - supports generation of pseudo-random Normal Distribution integers.

There are plans to support the following:

  • Emails
  • Addresses
  • Sentences and bodies of text.

Also it's planned that this will support:

  • Creation of test data scripts from a console application which runs against a database.
  • Instantiation of classes with test data using reflection.

Using it

There is one static method which provides the method to configure and generate data:


The Make method takes a data specification of the following form:


Or another example:


These specifications then provide further configuration methods:


The Make method optionally takes a seed. The seed is used by the random number generator. If you provide a seed the generated data will be consistent on all future runs:

TestDataFactory.Make(A.PostalCode(), 25)

Finally to actually generate the data you can generate either a single record or an enumerable. For an enumerable with 250 records:


Or for a single record:

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.2 240 11/9/2021 958 11/17/2016
0.1.11 1,029 2/28/2016
0.1.10 994 2/28/2016