AutoMock 1.0.3.1
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.
See the version list below for details.
Install-Package AutoMock -Version 1.0.3.1
dotnet add package AutoMock --version 1.0.3.1
<PackageReference Include="AutoMock" Version="1.0.3.1" />
paket add AutoMock --version 1.0.3.1
#r "nuget: AutoMock, 1.0.3.1"
Release Notes
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.
Dependencies
-
- RhinoMocks (>= 3.6.1)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AutoMock:
Repository | Stars |
---|---|
SevenSpikes/api-plugin-for-nopcommerce
API plugin for nopCommerce
|