Skip to main content
Xunit package icon

Xunit

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. Installing this package installs xunit.core, xunit.assert, and xunit.analyzers.

Total Downloads
976.6M
976,643,998
Published
Jul 8, 2024
Latest stable version

Install

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

Frameworks

No framework metadata available.

Dependencies

[2.9.0, 2.9.0]
[2.9.0, )
[1.15.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.

NuGet marks this package as deprecated and points to xunit.v3 as an alternative.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

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.