ComplexFaker 1.0.361.3

.NET Standard 2.0
Install-Package ComplexFaker -Version 1.0.361.3
dotnet add package ComplexFaker --version 1.0.361.3
<PackageReference Include="ComplexFaker" Version="1.0.361.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ComplexFaker --version 1.0.361.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ComplexFaker, 1.0.361.3"
#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 ComplexFaker as a Cake Addin
#addin nuget:?package=ComplexFaker&version=1.0.361.3

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

ComplexFaker

Fake data generator utiity for complex/nested DTO till n-depth for testing purpose.

Generate fake/bogus/dummy/junk data for .NET POCO.

Support for IEnumerable, List, Array and Dictionary.

	IFakeDataService faker = new FakeDataService();

        //Generate Simple obj
        var obj1 = faker.Generate<OrderSummaryDto>();

        //Generate List of simple obj with default array length 2.
        var obj2 = faker.Generate<List<OrderSummaryDto>>();

        //Generate Simple obj user defined array length 5.
        var obj3 = faker.Generate<List<OrderSummaryDto>>(5);

        //Generate Complex list with default array length 2.
        var obj4 = faker.GenerateComplex<List<OrderSummaryDto>>();

        //Generate Complex list with user defined array length 5.
        var obj5 = faker.GenerateComplex<List<OrderSummaryDto>>(5);
	
	//Generate Complex.
        var obj6 = faker.GenerateComplex<OrderSummaryDto>();

[Running Demo on dotnetfiddle][2]

[1]: https://nuget.org/packages/ComplexFaker/ "Get the NuGet Package: Install-Package ComplexFaker" [2]: https://dotnetfiddle.net/a8KKQy "Running Demo on dotnetfiddle"

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 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.

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
1.0.361.3 1,121 12/27/2021
1.0.358.5 3,237 12/24/2019
1.0.358.3 255 12/24/2019
1.0.7 286 12/12/2019
1.0.6 412 10/14/2019
1.0.5 294 10/9/2019
1.0.4 283 10/7/2019
1.0.3 291 10/7/2019

Added support for premitive types keys in Dictionary.