AutoMock 1.0.3.2
dotnet add package AutoMock --version 1.0.3.2
NuGet\Install-Package AutoMock -Version 1.0.3.2
<PackageReference Include="AutoMock" Version="1.0.3.2" />
paket add AutoMock --version 1.0.3.2
#r "nuget: AutoMock, 1.0.3.2"
// Install AutoMock as a Cake Addin #addin nuget:?package=AutoMock&version=1.0.3.2 // Install AutoMock as a Cake Tool #tool nuget:?package=AutoMock&version=1.0.3.2
When writing unit tests for any code that uses dependency injection, and when using a mocking framework, we need to declare and inject any dependency we have. This is repetitive and boring code to write, especially on classes with many dependencies. AutoMock solves this by creating mocks/stubs on the fly for a given class together with an instance of it.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- RhinoMocks (>= 3.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on AutoMock:
Repository | Stars |
---|---|
SevenSpikes/api-plugin-for-nopcommerce
API plugin for nopCommerce
|
|
stepanbenes/api-for-nopcommerce
API plugin for nopCommerce 4.50
|
Creates mocks/stubs on the fly for any class under test that depends on a set of dependencies through constructor based dependency injection.
Currently supports RhinoMocks.