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.5M
1,452,835
Published
Jan 21, 2025
Latest stable version

Install

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

Frameworks

.NETFramework4.6.2 net6.0

Dependencies

AutoFixture
.NETFramework4.6.2
[5.0.0-preview0012, )
NUnit
.NETFramework4.6.2
[4.0.0, 5.0.0)
[5.0.0-preview0012, )
NUnit
net6.0
[4.0.0, 5.0.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.