xunit 2.7.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

Requires NuGet 2.12 or higher.

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

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

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.

<img src="https://raw.github.com/xunit/media/main/powered-by-ndepend-transparent.png" title="Powered by NDepend" width="142" />

Latest Builds

<table> <thead> <tr> <th></th> <th>Stable</th> <th>Latest CI</th> <th>Build status</th> </tr> </thead> <tbody> <tr> <th>v2 core framework</th> <td><a href="https://www.nuget.org/packages/xunit"><img src="https://img.shields.io/nuget/v/xunit.svg?logo=nuget"></a></td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit%2Flatest"></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit/goto?ref=v2"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit%2Fbadge%3Fref%3Dv2&label=build"></td> <tr> <tr> <th>v3 core framework (<a href="https://xunit.net/docs/v3-alpha">alpha docs</a>)</th> <td>N/A</td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit.v3"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit.v3%2Flatest"></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit%2Fbadge%3Fref%3Dmain&label=build"></td> <tr> <tr> <th>xunit.analyzers</th> <td><a href="https://www.nuget.org/packages/xunit.analyzers"><img src="https://img.shields.io/nuget/v/xunit.analyzers.svg?logo=nuget"></a></td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit.analyzers"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit.analyzers%2Flatest"></a></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit.analyzers/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit.analyzers%2Fbadge%3Fref%3Dmain&label=build"></a></td> </tr> <tr> <th>xunit.runner.visualstudio</th> <td><a href="https://www.nuget.org/packages/xunit.runner.visualstudio"><img src="https://img.shields.io/nuget/v/xunit.runner.visualstudio.svg?logo=nuget"></a></td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit.runner.visualstudio"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit.runner.visualstudio%2Flatest"></a></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit.runner.visualstudio/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fvisualstudio.xunit%2Fbadge%3Fref%3Dmain&label=build"></a></td> </tr> </tbody> </table>

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 (722)

Showing the top 5 NuGet packages that depend on xunit:

Package Downloads
xunit.extensions The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.4K)

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
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
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.7.1 107,633 4/11/2024
2.7.0 3,742,998 2/16/2024
2.6.6 4,069,887 1/15/2024
2.6.5 1,188,153 1/5/2024
2.6.4 920,711 12/22/2023
2.6.3 1,496,015 12/9/2023
2.6.2 3,082,153 11/18/2023
2.6.1 2,425,477 11/2/2023
2.6.0 296,197 10/31/2023
2.5.3 2,188,107 10/16/2023
2.5.2 473,892 10/13/2023
2.5.2-pre.6 11,994 10/8/2023
2.5.2-pre.2 20,248 9/23/2023
2.5.1 2,973,563 9/18/2023
2.5.1-pre.33 7,009 9/10/2023
2.5.1-pre.26 15,911 9/2/2023
2.5.1-pre.20 43,671 8/7/2023
2.5.1-pre.12 26,746 7/21/2023
2.5.1-pre.11 584 7/21/2023
2.5.0 9,778,153 7/6/2023
2.5.0-pre.44 4,064 7/3/2023
2.5.0-pre.37 15,522 6/21/2023
2.5.0-pre.26 8,833 6/15/2023
2.5.0-pre.22 31,215 5/31/2023
2.5.0-pre.11 36,789 5/6/2023
2.4.2 73,837,536 8/1/2022
2.4.2-pre.27 33,243 7/24/2022
2.4.2-pre.12 868,936 10/3/2021
2.4.1 225,255,495 10/29/2018
2.4.1-pre.build.4071 23,211 10/7/2018
2.4.1-pre.build.4059 1,217,673 8/26/2018
2.4.0 55,023,012 7/17/2018
2.4.0-rc.2.build4045 6,225 7/13/2018
2.4.0-rc.1.build4038 23,876 7/2/2018
2.4.0-beta.2.build4010 277,281 5/29/2018
2.4.0-beta.1.build3958 188,717 2/12/2018
2.3.1 26,107,957 10/27/2017
2.3.1-rc2-build3844 16,368 10/20/2017
2.3.1-rc1-build3843 3,093 10/20/2017
2.3.0 1,346,429 10/6/2017
2.3.0-rc3-build3818 6,746 10/5/2017
2.3.0-rc2-build3812 4,563 10/4/2017
2.3.0-rc1-build3809 11,217 10/2/2017
2.3.0-beta5-build3769 275,648 9/1/2017
2.3.0-beta4-build3742 168,864 8/14/2017
2.3.0-beta3-build3705 208,497 6/8/2017
2.3.0-beta2-build3683 282,040 5/9/2017
2.3.0-beta1-build3642 134,541 4/6/2017
2.2.0 10,154,328 2/20/2017
2.2.0-rc4-build3536 7,788 2/18/2017
2.2.0-rc3-build3528 63,685 2/16/2017
2.2.0-rc2-build3523 19,029 2/13/2017
2.2.0-rc1-build3507 6,343 2/12/2017
2.2.0-beta5-build3474 511,082 1/16/2017
2.2.0-beta4-build3444 664,180 11/6/2016
2.2.0-beta3-build3402 109,740 10/5/2016
2.2.0-beta2-build3300 2,961,036 6/27/2016
2.2.0-beta1-build3239 72,571 12/20/2015
2.1.0 6,447,344 9/27/2015
2.1.0-rc2-build3176 9,150 9/20/2015
2.1.0-rc1-build3168 25,847 9/6/2015
2.1.0-beta4-build3109 27,980 8/5/2015
2.1.0-beta3-build3029 20,616 6/30/2015
2.1.0-beta2-build2981 16,695 5/3/2015
2.1.0-beta1-build2945 14,847 3/21/2015
2.0.0 1,376,587 3/16/2015
2.0.0-rc4-build2924 8,258 3/9/2015
2.0.0-rc3-build2880 11,600 2/23/2015
2.0.0-rc2-build2857 5,204 2/17/2015
2.0.0-rc1-build2826 10,989 1/20/2015
2.0.0-beta5-build2785 39,923 11/20/2014
2.0.0-beta4-build2738 18,228 8/10/2014
2.0.0-beta-build2700 4,868 6/30/2014
2.0.0-beta-build2650 4,781 4/29/2014
2.0.0-beta-build2616 3,883 3/22/2014
2.0.0-alpha-build2606 3,545 3/16/2014
2.0.0-alpha-build2595 3,815 3/9/2014
2.0.0-alpha-build2576 12,237 1/19/2014
2.0.0-alpha-build2569 3,136 1/17/2014
2.0.0-alpha-build2562 3,589 1/3/2014
2.0.0-alpha-build2552 3,455 12/8/2013
2.0.0-alpha-build2548 3,684 11/25/2013
2.0.0-alpha-build2533 2,363 11/4/2013
2.0.0-alpha-build2529 2,157 10/26/2013
2.0.0-alpha-build2521 2,454 9/22/2013
2.0.0-alpha-build2510 2,864 8/19/2013
2.0.0-alpha-build2503 2,366 7/23/2013
2.0.0-alpha-build1657 2,507 7/13/2013
2.0.0-alpha-build1654 2,555 5/19/2013
2.0.0-alpha-build1650 2,324 4/24/2013
2.0.0-alpha-build1648 2,131 4/18/2013
2.0.0-alpha-build1644 2,136 4/14/2013
2.0.0-alpha-build1631 2,085 4/8/2013
2.0.0-alpha-build1624 2,153 4/5/2013
2.0.0-alpha-build1611 9,857 8/6/2012
1.9.2 2,723,963 8/24/2013
1.9.1 761,186 7/4/2012
1.9.0.1566 386,476 1/2/2012
1.8.0.1549 187,946 9/13/2011
1.8.0.1545 60,367 4/12/2011
1.7.0.1540 354,510 1/31/2011