xunit 2.5.2-pre.2
Prefix ReservedSee the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package xunit --version 2.5.2-pre.2
NuGet\Install-Package xunit -Version 2.5.2-pre.2
<PackageReference Include="xunit" Version="2.5.2-pre.2" />
paket add xunit --version 2.5.2-pre.2
#r "nuget: xunit, 2.5.2-pre.2"
// Install xunit as a Cake Addin #addin nuget:?package=xunit&version=2.5.2-pre.2&prerelease // Install xunit as a Cake Tool #tool nuget:?package=xunit&version=2.5.2-pre.2&prerelease
About xUnit.net
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#, F#, VB.NET and other .NET languages. 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.
- New to xUnit.net? Get started with .NET Framework and .NET Core.
- Need some help building the source? See BUILDING.md.
- Want to contribute to the project? See CONTRIBUTING.md.
- Want to contribute to the assertion library? See the suggested contribution workflow in the assertion library project, as it is slightly more complex due to code being spread across two GitHub repositories.
Latest Builds
<table> <thead> <tr> <th></th> <th>Stable</th> <th>Latest prerelease</th> <th>Latest CI</th> <th>CI 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://www.nuget.org/packages/xunit/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/xunit.svg?logo=nuget"></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>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://www.nuget.org/packages/xunit.analyzers/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/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://www.nuget.org/packages/xunit.runner.visualstudio/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/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.
Learn more about Target Frameworks and .NET Standard.
-
- xunit.analyzers (>= 1.3.0)
- xunit.assert (>= 2.5.2-pre.2)
- xunit.core (= 2.5.2-pre.2)
NuGet packages (763)
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. |
|
Rystem.Test.XUnit
Rystem is a open-source framework to improve the System namespace in .Net |
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
|
|
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
|
Version | Downloads | Last updated |
---|---|---|
2.9.2 | 2,770,534 | 9/27/2024 |
2.9.1 | 619,636 | 9/22/2024 |
2.9.0 | 10,217,125 | 7/8/2024 |
2.8.1 | 7,848,580 | 5/25/2024 |
2.8.0 | 4,695,705 | 4/27/2024 |
2.7.1 | 3,372,944 | 4/11/2024 |
2.7.0 | 11,046,497 | 2/16/2024 |
2.6.6 | 7,478,339 | 1/15/2024 |
2.6.5 | 2,070,865 | 1/5/2024 |
2.6.4 | 1,484,804 | 12/22/2023 |
2.6.3 | 2,328,402 | 12/9/2023 |
2.6.2 | 4,630,765 | 11/18/2023 |
2.6.1 | 3,961,935 | 11/2/2023 |
2.6.0 | 412,883 | 10/31/2023 |
2.5.3 | 6,204,918 | 10/16/2023 |
2.5.2 | 607,530 | 10/13/2023 |
2.5.2-pre.6 | 29,341 | 10/8/2023 |
2.5.2-pre.2 | 37,322 | 9/23/2023 |
2.5.1 | 3,902,385 | 9/18/2023 |
2.5.1-pre.33 | 17,154 | 9/10/2023 |
2.5.1-pre.26 | 32,258 | 9/2/2023 |
2.5.1-pre.20 | 61,745 | 8/7/2023 |
2.5.1-pre.12 | 52,985 | 7/21/2023 |
2.5.1-pre.11 | 1,964 | 7/21/2023 |
2.5.0 | 12,472,585 | 7/6/2023 |
2.5.0-pre.44 | 5,854 | 7/3/2023 |
2.5.0-pre.37 | 21,232 | 6/21/2023 |
2.5.0-pre.26 | 12,141 | 6/15/2023 |
2.5.0-pre.22 | 39,820 | 5/31/2023 |
2.5.0-pre.11 | 44,626 | 5/6/2023 |
2.4.2 | 91,267,570 | 8/1/2022 |
2.4.2-pre.27 | 39,056 | 7/24/2022 |
2.4.2-pre.12 | 979,928 | 10/3/2021 |
2.4.1 | 243,076,056 | 10/29/2018 |
2.4.1-pre.build.4071 | 23,640 | 10/7/2018 |
2.4.1-pre.build.4059 | 1,219,833 | 8/26/2018 |
2.4.0 | 58,106,383 | 7/17/2018 |
2.4.0-rc.2.build4045 | 6,446 | 7/13/2018 |
2.4.0-rc.1.build4038 | 24,130 | 7/2/2018 |
2.4.0-beta.2.build4010 | 278,979 | 5/29/2018 |
2.4.0-beta.1.build3958 | 200,645 | 2/12/2018 |
2.3.1 | 27,571,164 | 10/27/2017 |
2.3.1-rc2-build3844 | 16,671 | 10/20/2017 |
2.3.1-rc1-build3843 | 3,363 | 10/20/2017 |
2.3.0 | 1,380,673 | 10/6/2017 |
2.3.0-rc3-build3818 | 7,046 | 10/5/2017 |
2.3.0-rc2-build3812 | 4,864 | 10/4/2017 |
2.3.0-rc1-build3809 | 11,905 | 10/2/2017 |
2.3.0-beta5-build3769 | 281,484 | 9/1/2017 |
2.3.0-beta4-build3742 | 170,699 | 8/14/2017 |
2.3.0-beta3-build3705 | 213,921 | 6/8/2017 |
2.3.0-beta2-build3683 | 283,068 | 5/9/2017 |
2.3.0-beta1-build3642 | 136,350 | 4/6/2017 |
2.2.0 | 10,557,822 | 2/20/2017 |
2.2.0-rc4-build3536 | 8,104 | 2/18/2017 |
2.2.0-rc3-build3528 | 64,114 | 2/16/2017 |
2.2.0-rc2-build3523 | 19,322 | 2/13/2017 |
2.2.0-rc1-build3507 | 6,631 | 2/12/2017 |
2.2.0-beta5-build3474 | 521,947 | 1/16/2017 |
2.2.0-beta4-build3444 | 666,282 | 11/6/2016 |
2.2.0-beta3-build3402 | 110,145 | 10/5/2016 |
2.2.0-beta2-build3300 | 2,963,834 | 6/27/2016 |
2.2.0-beta1-build3239 | 73,084 | 12/20/2015 |
2.1.0 | 7,027,011 | 9/27/2015 |
2.1.0-rc2-build3176 | 9,413 | 9/20/2015 |
2.1.0-rc1-build3168 | 26,485 | 9/6/2015 |
2.1.0-beta4-build3109 | 28,424 | 8/5/2015 |
2.1.0-beta3-build3029 | 20,929 | 6/30/2015 |
2.1.0-beta2-build2981 | 17,038 | 5/3/2015 |
2.1.0-beta1-build2945 | 15,132 | 3/21/2015 |
2.0.0 | 1,463,067 | 3/16/2015 |
2.0.0-rc4-build2924 | 9,808 | 3/9/2015 |
2.0.0-rc3-build2880 | 12,123 | 2/23/2015 |
2.0.0-rc2-build2857 | 5,459 | 2/17/2015 |
2.0.0-rc1-build2826 | 11,308 | 1/20/2015 |
2.0.0-beta5-build2785 | 40,393 | 11/20/2014 |
2.0.0-beta4-build2738 | 18,598 | 8/10/2014 |
2.0.0-beta-build2700 | 5,156 | 6/30/2014 |
2.0.0-beta-build2650 | 5,063 | 4/29/2014 |
2.0.0-beta-build2616 | 4,235 | 3/22/2014 |
2.0.0-alpha-build2606 | 3,848 | 3/16/2014 |
2.0.0-alpha-build2595 | 4,070 | 3/9/2014 |
2.0.0-alpha-build2576 | 12,580 | 1/19/2014 |
2.0.0-alpha-build2569 | 3,492 | 1/17/2014 |
2.0.0-alpha-build2562 | 3,909 | 1/3/2014 |
2.0.0-alpha-build2552 | 3,755 | 12/8/2013 |
2.0.0-alpha-build2548 | 3,981 | 11/25/2013 |
2.0.0-alpha-build2533 | 2,589 | 11/4/2013 |
2.0.0-alpha-build2529 | 2,385 | 10/26/2013 |
2.0.0-alpha-build2521 | 2,682 | 9/22/2013 |
2.0.0-alpha-build2510 | 3,096 | 8/19/2013 |
2.0.0-alpha-build2503 | 2,591 | 7/23/2013 |
2.0.0-alpha-build1657 | 2,735 | 7/13/2013 |
2.0.0-alpha-build1654 | 2,777 | 5/19/2013 |
2.0.0-alpha-build1650 | 2,537 | 4/24/2013 |
2.0.0-alpha-build1648 | 2,366 | 4/18/2013 |
2.0.0-alpha-build1644 | 2,364 | 4/14/2013 |
2.0.0-alpha-build1631 | 2,312 | 4/8/2013 |
2.0.0-alpha-build1624 | 2,383 | 4/5/2013 |
2.0.0-alpha-build1611 | 11,948 | 8/6/2012 |
1.9.2 | 2,887,425 | 8/24/2013 |
1.9.1 | 789,769 | 7/4/2012 |
1.9.0.1566 | 393,187 | 1/2/2012 |
1.8.0.1549 | 202,808 | 9/13/2011 |
1.8.0.1545 | 64,605 | 4/12/2011 |
1.7.0.1540 | 414,350 | 1/31/2011 |