dotnet add package AutoMock --version
NuGet\Install-Package AutoMock -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AutoMock" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoMock --version
#r "nuget: AutoMock,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AutoMock as a Cake Addin
#addin nuget:?package=AutoMock&version=

// Install AutoMock as a Cake Tool
#tool nuget:?package=AutoMock&version=

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
API plugin for nopCommerce
API plugin for nopCommerce 4.50
Version Downloads Last updated 71,034 5/18/2016 11,714 2/13/2016

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.