CreateAndFake 1.6.5

A C# class library that handles mocking, test data generation, and validation.

Install-Package CreateAndFake -Version 1.6.5
dotnet add package CreateAndFake --version 1.6.5
paket add CreateAndFake --version 1.6.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A C# class library for .NET Standard 2.0 and .NET Core 2.0 that handles mocking, test data generation, and validation. Designed to handle the bulk of test setup quickly and easily so that developers can focus on the behavior to test, making tests easier to develop and maintain. The handful of tools provided are both easy to use and customizable should the need arise:

  • Tester - Automates common tests.
  • Faker - Creates mocks and stubs.
  • Randomizer - Creates random instances of any type.
  • Mutator - Mutates objects or creates variants.
  • Duplicator - Creates deep clones of objects.
  • Valuer - Compares objects by value.
  • Asserter - Handles common test scenarios.

A key benefit of the library is in how the tools are logically integrated with each other. For example, the Randomizer will use stubs for interfaces that have no known implementations in the code. Or the mocks created by the Faker utilize value equality in matching arguments.

Visit the documentation site for more information and how to get started.

A C# class library for .NET Standard 2.0 and .NET Core 2.0 that handles mocking, test data generation, and validation. Designed to handle the bulk of test setup quickly and easily so that developers can focus on the behavior to test, making tests easier to develop and maintain. The handful of tools provided are both easy to use and customizable should the need arise:

  • Tester - Automates common tests.
  • Faker - Creates mocks and stubs.
  • Randomizer - Creates random instances of any type.
  • Mutator - Mutates objects or creates variants.
  • Duplicator - Creates deep clones of objects.
  • Valuer - Compares objects by value.
  • Asserter - Handles common test scenarios.

A key benefit of the library is in how the tools are logically integrated with each other. For example, the Randomizer will use stubs for interfaces that have no known implementations in the code. Or the mocks created by the Faker utilize value equality in matching arguments.

Visit the documentation site for more information and how to get started.

Version History

Version Downloads Last updated
1.6.5 380 7/16/2018
1.6.4 135 7/9/2018
1.6.3 146 6/27/2018
1.6.2 133 6/25/2018
1.6.1 144 6/20/2018
1.6.0 140 6/7/2018
1.5.1 136 6/7/2018
1.5.0 133 6/4/2018
1.4.1 178 5/20/2018
1.4.0 176 5/15/2018