Skip to main content
AutoFixture.AutoFoq package icon

AutoFixture.AutoFoq

This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by Foq. To use it, add the AutoFoqCustomization to your Fixture instance.

Total Downloads
293.1K
293,057
Published
Jan 21, 2025
Latest stable version

Install

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

Frameworks

.NETFramework4.6.2 net5.0 net6.0 .NETStandard2.0

Dependencies

AutoFixture
.NETFramework4.6.2
[5.0.0-preview0012, )
FSharp.Core
.NETFramework4.6.2
[4.2.3, )
Foq
.NETFramework4.6.2
[1.8.0, 2.0.0)
System.ValueTuple
.NETFramework4.6.2
[4.4.0, )
[5.0.0-preview0012, )
[4.2.3, )
Foq
net5.0
[1.8.0, 2.0.0)
[4.3.4, )
[5.0.0-preview0012, )
[4.2.3, )
Foq
net6.0
[1.8.0, 2.0.0)
[4.3.4, )
AutoFixture
.NETStandard2.0
[5.0.0-preview0012, )
FSharp.Core
.NETStandard2.0
[4.2.3, )
Foq
.NETStandard2.0
[1.8.0, 2.0.0)
System.Net.Http
.NETStandard2.0
[4.3.4, )

Adoption guide

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

This version is marked prerelease. Validate its API and upgrade path before production use.

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

The published metadata declares 18 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

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.