AutoFixture with Auto Mocking using Moq NuGet Package

This extension turns AutoFixture into an Auto-Mocking Container.

The mock instances are created by Moq. To use it, add the AutoMoqCustomization to your Fixture instance.

Read more at http://blog.ploeh.dk/2010/08/19/AutoFixtureAsAnAutomockingContainer.aspx.




Got any AutoFixture with Auto Mocking using Moq Question?





Info

Version: 5.0.0-preview0011
Author(s): Mark Seemann, AutoFixture
Last Update: Monday, April 15, 2024
.NET Fiddle: Online Example
Project Url: https://github.com/AutoFixture/AutoFixture
NuGet Url: https://www.nuget.org/packages/AutoFixture.AutoMoq


Install
Install-Package AutoFixture.AutoMoq
dotnet add package AutoFixture.AutoMoq
paket add AutoFixture.AutoMoq
AutoFixture.AutoMoq Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net452 netstandard1.5 53 packages depend on this package.




STATS

must-have-score

6.8

avg-downloads-per-day

8792

days-since-last-release

259