FakeModel offers you a Fluent interface for rapid creation of test data, automatically assigning values to properties (public, private and readonly) of an in-built .Net data type. Whilst building your model, you can assign the important values yourself and forget about the rest – or even declare that FakeModel should ignore a property in question – all through Lambda Expressions.
FakeModel aims to take the mundane task of Test Data Creation out of your hands, allowing you to focus your brain power* on what really counts.
*Brain Power May Vary.
See the version list below for details.
Install-Package FakeModel -Version 0.0.6
dotnet add package FakeModel --version 0.0.6
<PackageReference Include="FakeModel" Version="0.0.6" />
paket add FakeModel --version 0.0.6
#r "nuget: FakeModel, 0.0.6"
// Install FakeModel as a Cake Addin #addin nuget:?package=FakeModel&version=0.0.6 // Install FakeModel as a Cake Tool #tool nuget:?package=FakeModel&version=0.0.6
Version 0.0.6 -> Added fluent API approach to creating collections, Hidden methods not meant to be public (oops!), Added ReverseClassAssignment method, Propertys of a type not supported by FakeModel will cause a FakeModelException.
V0.0.5 - Fixed bugs from 0.0.4. Prevention of infinite loops through objects which directly or indirectly reference themselves, this will now leave null values after the first hierarchical step. Classes with private constructors now throw a FakeModelException, instead of being ignored.
V0.0.4 - Recursive Class Property Building can now be disabled, Class properties requiring constructor's can now be handled, Classes created which require constructors but the requied parameters are not provided will have generated parameters passed across.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.