An auto-mocking container for Moq.  When this container "resolves" a class, it fills all dependencies with mocks, saving you the trouble of instantiating every mock by hand.  You can access the mocks before and after the resolution.

There is a newer version of this package available.
See the version list below for details.
Install-Package AutoMoq -Version
dotnet add package AutoMoq --version
<PackageReference Include="AutoMoq" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoMoq --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Showing the top 4 GitHub repositories that depend on AutoMoq:

Repository Stars
A fork of Sonarr to work with movies à la Couchpotato.
A sample app for my presentation on Clean Architecture: Patterns, Practices, and Principles
Painless integration of ELMAH into ASP.NET MVC application
An extension for Visual Studio that generates a unit test boilerplate from a given class, setting up mocks for all dependencies. Supports NUnit, Visual Studio Test, Moq and SimpleStubs.

Version History

Version Downloads Last updated
2.0.0 269,544 5/25/2016
1.8.1 22,885 4/25/2016
1.8.0 5,953 4/16/2016
1.7.1 1,838 4/9/2016
1.7.0 6,290 2/4/2016
1.6.2 99,843 9/2/2013
1.6.1 31,421 10/24/2011
1.6.0 1,544 8/16/2011
1.5.0 1,105 7/14/2011
1.4.2 1,223 6/4/2011
1.4.1 1,315 4/10/2011
1.4.0 1,349 4/9/2011 1,402 4/9/2011
Show less