xunit 2.9.2

Prefix Reserved

Requires NuGet 2.12 or higher.

dotnet add package xunit --version 2.9.2                
NuGet\Install-Package xunit -Version 2.9.2                
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.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xunit --version 2.9.2                
#r "nuget: xunit, 2.9.2"                
#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.2

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

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 Build status
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
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
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 (760)

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.

Xbehave

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

Akka.TestKit.Xunit2

TestKit for writing tests for Akka.NET using xUnit.

FunFair.Test.Common

FunFair Common Test Infrastructure for building xUnit tests on top of.

FsUnit.xUnit

FsUnit is a set of extensions that add special testing syntax to xUnit.

GitHub repositories (2.6K)

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

Repository Stars
shadowsocks/shadowsocks-windows
A C# port of shadowsocks
PowerShell/PowerShell
PowerShell for every system!
jellyfin/jellyfin
The Free Software Media System
microsoft/autogen
A programming framework for agentic AI 🤖
DevToys-app/DevToys
A Swiss Army knife for developers.
Version Downloads Last updated
2.9.2 1,221,319 9/27/2024
2.9.1 504,105 9/22/2024
2.9.0 9,182,358 7/8/2024
2.8.1 7,435,167 5/25/2024
2.8.0 4,475,863 4/27/2024
2.7.1 3,244,457 4/11/2024
2.7.0 10,689,328 2/16/2024
2.6.6 7,287,626 1/15/2024
2.6.5 2,027,287 1/5/2024
2.6.4 1,459,222 12/22/2023
2.6.3 2,274,682 12/9/2023
2.6.2 4,540,177 11/18/2023
2.6.1 3,859,593 11/2/2023
2.6.0 405,981 10/31/2023
2.5.3 5,756,879 10/16/2023
2.5.2 599,266 10/13/2023
2.5.2-pre.6 28,893 10/8/2023
2.5.2-pre.2 36,694 9/23/2023
2.5.1 3,839,844 9/18/2023
2.5.1-pre.33 16,823 9/10/2023
2.5.1-pre.26 31,859 9/2/2023
2.5.1-pre.20 60,623 8/7/2023
2.5.1-pre.12 51,797 7/21/2023
2.5.1-pre.11 1,664 7/21/2023
2.5.0 12,307,966 7/6/2023
2.5.0-pre.44 5,515 7/3/2023
2.5.0-pre.37 20,688 6/21/2023
2.5.0-pre.26 11,807 6/15/2023
2.5.0-pre.22 39,073 5/31/2023
2.5.0-pre.11 43,793 5/6/2023
2.4.2 90,042,497 8/1/2022
2.4.2-pre.27 38,623 7/24/2022
2.4.2-pre.12 973,386 10/3/2021
2.4.1 241,830,432 10/29/2018
2.4.1-pre.build.4071 23,604 10/7/2018
2.4.1-pre.build.4059 1,219,773 8/26/2018
2.4.0 57,872,648 7/17/2018
2.4.0-rc.2.build4045 6,427 7/13/2018
2.4.0-rc.1.build4038 24,111 7/2/2018
2.4.0-beta.2.build4010 278,919 5/29/2018
2.4.0-beta.1.build3958 200,446 2/12/2018
2.3.1 27,484,830 10/27/2017
2.3.1-rc2-build3844 16,652 10/20/2017
2.3.1-rc1-build3843 3,345 10/20/2017
2.3.0 1,377,905 10/6/2017
2.3.0-rc3-build3818 7,027 10/5/2017
2.3.0-rc2-build3812 4,845 10/4/2017
2.3.0-rc1-build3809 11,852 10/2/2017
2.3.0-beta5-build3769 281,197 9/1/2017
2.3.0-beta4-build3742 170,590 8/14/2017
2.3.0-beta3-build3705 213,747 6/8/2017
2.3.0-beta2-build3683 283,014 5/9/2017
2.3.0-beta1-build3642 136,221 4/6/2017
2.2.0 10,528,994 2/20/2017
2.2.0-rc4-build3536 8,085 2/18/2017
2.2.0-rc3-build3528 64,096 2/16/2017
2.2.0-rc2-build3523 19,304 2/13/2017
2.2.0-rc1-build3507 6,612 2/12/2017
2.2.0-beta5-build3474 521,142 1/16/2017
2.2.0-beta4-build3444 666,154 11/6/2016
2.2.0-beta3-build3402 110,126 10/5/2016
2.2.0-beta2-build3300 2,963,680 6/27/2016
2.2.0-beta1-build3239 73,033 12/20/2015
2.1.0 6,977,674 9/27/2015
2.1.0-rc2-build3176 9,392 9/20/2015
2.1.0-rc1-build3168 26,439 9/6/2015
2.1.0-beta4-build3109 28,381 8/5/2015
2.1.0-beta3-build3029 20,910 6/30/2015
2.1.0-beta2-build2981 17,017 5/3/2015
2.1.0-beta1-build2945 15,114 3/21/2015
2.0.0 1,456,145 3/16/2015
2.0.0-rc4-build2924 9,737 3/9/2015
2.0.0-rc3-build2880 12,093 2/23/2015
2.0.0-rc2-build2857 5,441 2/17/2015
2.0.0-rc1-build2826 11,286 1/20/2015
2.0.0-beta5-build2785 40,369 11/20/2014
2.0.0-beta4-build2738 18,578 8/10/2014
2.0.0-beta-build2700 5,136 6/30/2014
2.0.0-beta-build2650 5,046 4/29/2014
2.0.0-beta-build2616 4,217 3/22/2014
2.0.0-alpha-build2606 3,831 3/16/2014
2.0.0-alpha-build2595 4,051 3/9/2014
2.0.0-alpha-build2576 12,561 1/19/2014
2.0.0-alpha-build2569 3,472 1/17/2014
2.0.0-alpha-build2562 3,892 1/3/2014
2.0.0-alpha-build2552 3,736 12/8/2013
2.0.0-alpha-build2548 3,963 11/25/2013
2.0.0-alpha-build2533 2,572 11/4/2013
2.0.0-alpha-build2529 2,367 10/26/2013
2.0.0-alpha-build2521 2,661 9/22/2013
2.0.0-alpha-build2510 3,077 8/19/2013
2.0.0-alpha-build2503 2,574 7/23/2013
2.0.0-alpha-build1657 2,718 7/13/2013
2.0.0-alpha-build1654 2,760 5/19/2013
2.0.0-alpha-build1650 2,520 4/24/2013
2.0.0-alpha-build1648 2,348 4/18/2013
2.0.0-alpha-build1644 2,346 4/14/2013
2.0.0-alpha-build1631 2,294 4/8/2013
2.0.0-alpha-build1624 2,365 4/5/2013
2.0.0-alpha-build1611 11,790 8/6/2012
1.9.2 2,875,227 8/24/2013
1.9.1 788,174 7/4/2012
1.9.0.1566 392,775 1/2/2012
1.8.0.1549 201,301 9/13/2011
1.8.0.1545 64,346 4/12/2011
1.7.0.1540 409,647 1/31/2011