xunit 2.9.3

Prefix Reserved

Requires NuGet 2.12 or higher.

dotnet add package xunit --version 2.9.3                
NuGet\Install-Package xunit -Version 2.9.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="xunit" Version="2.9.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xunit --version 2.9.3                
#r "nuget: xunit, 2.9.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install xunit as a Cake Addin
#addin nuget:?package=xunit&version=2.9.3

// Install xunit as a Cake Tool
#tool nuget:?package=xunit&version=2.9.3                

About xUnit.net

<img align="right" width="100px" src="https://raw.githubusercontent.com/xunit/media/main/dotnet-foundation.svg" />

xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C# and F# (other .NET languages may work as well, but are unsupported). xUnit.net works with Visual Studio, Visual Studio Code, ReSharper, CodeRush, and TestDriven.NET. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).

For project documentation, please visit the xUnit.net project home.

Powered by NDepend

Latest Builds

Stable Latest CI (how to use) Build status
v3 core framework alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image
v2 core framework alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image
xunit.analyzers alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image
xunit.runner.visualstudio alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

For complete CI package lists, please visit the feedz.io package search. A free login is required.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (806)

Showing the top 5 NuGet packages that depend on xunit:

Package Downloads
xunit.extensions

NOTE: This empty package exists to assist users upgrading from xUnit.net v1.x to v2.x.

Akka.TestKit.Xunit2

TestKit for writing tests for Akka.NET using xUnit.

Xbehave

An xUnit.net extension for describing your tests using natural language. Installing this package installs Xbehave.Core and xunit.

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.

xunit.assemblyfixture

Assembly-level shared state via IAssemblyFixture, just like built-in collection and class fixture state.

GitHub repositories (2.7K)

Showing the top 5 popular GitHub repositories that depend on xunit:

Repository Stars
PowerShell/PowerShell
PowerShell for every system!
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
DevToys-app/DevToys
A Swiss Army knife for developers.
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
NickeManarin/ScreenToGif
🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
Version Downloads Last updated
2.9.3 7,273,562 1/8/2025
2.9.2 22,440,276 9/27/2024
2.9.1 3,874,804 9/22/2024
2.9.0 16,457,384 7/8/2024
2.8.1 10,753,047 5/25/2024
2.8.0 6,310,518 4/27/2024
2.7.1 4,308,302 4/11/2024
2.7.0 13,740,001 2/16/2024
2.6.6 8,936,170 1/15/2024
2.6.5 2,435,237 1/5/2024
2.6.4 1,697,645 12/22/2023
2.6.3 2,742,634 12/9/2023
2.6.2 5,449,980 11/18/2023
2.6.1 4,778,707 11/2/2023
2.6.0 470,251 10/31/2023
2.5.3 10,873,931 10/16/2023
2.5.2 673,415 10/13/2023
2.5.2-pre.6 30,229 10/8/2023
2.5.2-pre.2 39,219 9/23/2023
2.5.1 4,432,690 9/18/2023
2.5.1-pre.33 17,665 9/10/2023
2.5.1-pre.26 33,275 9/2/2023
2.5.1-pre.20 68,967 8/7/2023
2.5.1-pre.12 61,321 7/21/2023
2.5.1-pre.11 2,251 7/21/2023
2.5.0 13,871,608 7/6/2023
2.5.0-pre.44 6,315 7/3/2023
2.5.0-pre.37 23,309 6/21/2023
2.5.0-pre.26 12,552 6/15/2023
2.5.0-pre.22 43,493 5/31/2023
2.5.0-pre.11 49,027 5/6/2023
2.4.2 101,022,300 8/1/2022
2.4.2-pre.27 41,489 7/24/2022
2.4.2-pre.12 1,036,215 10/3/2021
2.4.1 253,354,703 10/29/2018
2.4.1-pre.build.4071 24,106 10/7/2018
2.4.1-pre.build.4059 1,220,991 8/26/2018
2.4.0 60,042,195 7/17/2018
2.4.0-rc.2.build4045 6,813 7/13/2018
2.4.0-rc.1.build4038 24,495 7/2/2018
2.4.0-beta.2.build4010 279,829 5/29/2018
2.4.0-beta.1.build3958 202,459 2/12/2018
2.3.1 28,337,902 10/27/2017
2.3.1-rc2-build3844 17,039 10/20/2017
2.3.1-rc1-build3843 3,703 10/20/2017
2.3.0 1,411,047 10/6/2017
2.3.0-rc3-build3818 7,471 10/5/2017
2.3.0-rc2-build3812 5,229 10/4/2017
2.3.0-rc1-build3809 12,987 10/2/2017
2.3.0-beta5-build3769 284,600 9/1/2017
2.3.0-beta4-build3742 171,995 8/14/2017
2.3.0-beta3-build3705 215,629 6/8/2017
2.3.0-beta2-build3683 283,768 5/9/2017
2.3.0-beta1-build3642 137,557 4/6/2017
2.2.0 10,810,324 2/20/2017
2.2.0-rc4-build3536 8,456 2/18/2017
2.2.0-rc3-build3528 64,475 2/16/2017
2.2.0-rc2-build3523 19,680 2/13/2017
2.2.0-rc1-build3507 6,978 2/12/2017
2.2.0-beta5-build3474 528,217 1/16/2017
2.2.0-beta4-build3444 667,420 11/6/2016
2.2.0-beta3-build3402 110,564 10/5/2016
2.2.0-beta2-build3300 2,965,393 6/27/2016
2.2.0-beta1-build3239 73,601 12/20/2015
2.1.0 7,461,943 9/27/2015
2.1.0-rc2-build3176 9,753 9/20/2015
2.1.0-rc1-build3168 27,191 9/6/2015
2.1.0-beta4-build3109 28,864 8/5/2015
2.1.0-beta3-build3029 21,293 6/30/2015
2.1.0-beta2-build2981 17,417 5/3/2015
2.1.0-beta1-build2945 15,497 3/21/2015
2.0.0 1,532,471 3/16/2015
2.0.0-rc4-build2924 10,557 3/9/2015
2.0.0-rc3-build2880 12,537 2/23/2015
2.0.0-rc2-build2857 5,827 2/17/2015
2.0.0-rc1-build2826 11,699 1/20/2015
2.0.0-beta5-build2785 40,813 11/20/2014
2.0.0-beta4-build2738 18,966 8/10/2014
2.0.0-beta-build2700 5,525 6/30/2014
2.0.0-beta-build2650 5,424 4/29/2014
2.0.0-beta-build2616 4,612 3/22/2014
2.0.0-alpha-build2606 4,204 3/16/2014
2.0.0-alpha-build2595 4,430 3/9/2014
2.0.0-alpha-build2576 12,960 1/19/2014
2.0.0-alpha-build2569 3,851 1/17/2014
2.0.0-alpha-build2562 4,259 1/3/2014
2.0.0-alpha-build2552 4,109 12/8/2013
2.0.0-alpha-build2548 4,340 11/25/2013
2.0.0-alpha-build2533 2,948 11/4/2013
2.0.0-alpha-build2529 2,739 10/26/2013
2.0.0-alpha-build2521 3,038 9/22/2013
2.0.0-alpha-build2510 3,454 8/19/2013
2.0.0-alpha-build2503 2,945 7/23/2013
2.0.0-alpha-build1657 3,089 7/13/2013
2.0.0-alpha-build1654 3,116 5/19/2013
2.0.0-alpha-build1650 2,895 4/24/2013
2.0.0-alpha-build1648 2,721 4/18/2013
2.0.0-alpha-build1644 2,720 4/14/2013
2.0.0-alpha-build1631 2,672 4/8/2013
2.0.0-alpha-build1624 2,738 4/5/2013
2.0.0-alpha-build1611 13,629 8/6/2012
1.9.2 3,000,675 8/24/2013
1.9.1 805,804 7/4/2012
1.9.0.1566 397,947 1/2/2012
1.8.0.1549 219,787 9/13/2011
1.8.0.1545 66,777 4/12/2011
1.7.0.1540 491,796 1/31/2011