Skip to main content
AutoFixture.NUnit2 package icon

AutoFixture.NUnit2

By leveraging the some features of NUnit, 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,469,727
Published
Apr 15, 2025
Latest stable version

Install

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

Frameworks

.NETFramework4.5.2 .NETFramework4.6.2

Dependencies

AutoFixture
.NETFramework4.5.2
[4.18.1, )
NUnit
.NETFramework4.5.2
[2.7.1, 3.0.0)
NUnitV2.Core
.NETFramework4.5.2
[2.7.1, )
AutoFixture
.NETFramework4.6.2
[4.18.1, )
NUnit
.NETFramework4.6.2
[2.7.1, 3.0.0)
NUnitV2.Core
.NETFramework4.6.2
[2.7.1, )

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 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.