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.
Install-Package FakeModel -Version 0.0.7
dotnet add package FakeModel --version 0.0.7
<PackageReference Include="FakeModel" Version="0.0.7" />
paket add FakeModel --version 0.0.7
Version 0.0.7 -> Version 0.0.7 -> Added support for properties that are collections, Limited character use within string generation, an option now available within FakeSetup, Range attribute on a DateTime can now be handled in format: [Range(typeof(DateTime), "1/1/2011", "1/1/2012"]
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 popular GitHub repositories.