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
Dec 10, 2023
Latest stable version

Install

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

Frameworks

.NETFramework4.6.1 .NETStandard2.0

Dependencies

AutoFixture
.NETFramework4.6.1
[5.0.0-pdb-test0003, )
FSharp.Core
.NETFramework4.6.1
[4.2.3, )
Foq
.NETFramework4.6.1
[1.8.0, 2.0.0)
System.ValueTuple
.NETFramework4.6.1
[4.4.0, )
AutoFixture
.NETStandard2.0
[5.0.0-pdb-test0003, )
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 2 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.