Skip to main content
AutoFixture.NUnit4 package icon

AutoFixture.NUnit4

By leveraging some features of NUnit4, this extension turns AutoFixture into a declarative framework for writing unit tests. In many ways it becomes a unit testing DSL (Domain Specific Language).

Total Downloads
1.7M
1,701,995
Published
Jul 31, 2026
Latest stable version

Install

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

Frameworks

net10.0 .NETFramework4.6.2 net8.0

Dependencies

[5.0.0-rc.1, )
NUnit
net10.0
[4.0.0, 5.0.0)
AutoFixture
.NETFramework4.6.2
[5.0.0-rc.1, )
NUnit
.NETFramework4.6.2
[4.0.0, 5.0.0)
[5.0.0-rc.1, )
NUnit
net8.0
[4.0.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.

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

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.