Skip to main content
xunit.v3 package icon

xunit.v3

xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features. Supports .NET Framework 4.7.2 or later and .NET 8 or later. Installing this package installs xunit.v3.core, xunit.v3.assert, and xunit.analyzers.

Total Downloads
34.6M
34,570,391
Published
Sep 27, 2025
Latest stable version

Install

.NET CLI
dotnet add package xunit.v3 --version 3.1.0
Package Manager Console
Install-Package xunit.v3 -Version 3.1.0
PackageReference
<PackageReference Include="xunit.v3" Version="3.1.0" />

Frameworks

.NETFramework4.7.2 net8.0

Dependencies

xunit.v3.core
.NETFramework4.7.2
[3.1.0, 3.1.0]
xunit.v3.assert
.NETFramework4.7.2
[3.1.0, 3.1.0]
xunit.analyzers
.NETFramework4.7.2
[1.24.0, )
[3.1.0, 3.1.0]
[3.1.0, 3.1.0]
[1.24.0, )

Adoption guide

New xUnit.net test suites targeting supported modern .NET versions, or teams deliberately migrating to v3.

Unit Testing guide
Why it appears in the guide: The current xUnit.net package for modern .NET test projects, with its v3 test platform integration. Trade-off: v3 uses a different package and runner model than xUnit v2; check the migration guidance and CI adapter before standardizing.

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.