Skip to main content
AutoFixture.Xunit package icon

AutoFixture.Xunit

By leveraging the data theory feature of xUnit.net, this extension turns AutoFixture into a declarative framework for writing unit tests. In many ways it becomes a unit testing DSL (Domain Specific Language). For xUnit.net 2, please use the AutoFixture.Xunit2 NuGet Package.

Total Downloads
2.7M
2,667,239
Published
Apr 14, 2025
Latest stable version

Install

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

Frameworks

.NETFramework4.5.2 .NETFramework4.6.2

Dependencies

AutoFixture
.NETFramework4.5.2
[4.18.1, )
xunit
.NETFramework4.5.2
[1.8.0.1549, 2.0.0)
xunit.extensions
.NETFramework4.5.2
[1.8.0.1549, 2.0.0)
AutoFixture
.NETFramework4.6.2
[4.18.1, )
xunit
.NETFramework4.6.2
[1.8.0.1549, 2.0.0)
xunit.extensions
.NETFramework4.6.2
[1.8.0.1549, 2.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.

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.