Skip to main content
AutoFixture.AutoMoq package icon

AutoFixture.AutoMoq

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

Total Downloads
103.4M
103,407,452
Published
Apr 1, 2021
Latest stable version

Install

.NET CLI
dotnet add package AutoFixture.AutoMoq --version 4.16.0
Package Manager Console
Install-Package AutoFixture.AutoMoq -Version 4.16.0
PackageReference
<PackageReference Include="AutoFixture.AutoMoq" Version="4.16.0" />

Frameworks

.NETFramework4.5.2 .NETStandard1.5 .NETStandard2.0

Dependencies

AutoFixture
.NETFramework4.5.2
[4.16.0, )
Moq
.NETFramework4.5.2
[4.1.1308.2120, 5.0.0)
AutoFixture
.NETStandard1.5
[4.16.0, )
Moq
.NETStandard1.5
[4.7.0, 4.11.0)
NETStandard.Library
.NETStandard1.5
[1.6.1, )
AutoFixture
.NETStandard2.0
[4.16.0, )
Moq
.NETStandard2.0
[4.7.0, 5.0.0)

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.