xunit.core
2.7.0
Prefix Reserved
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package xunit.core --version 2.7.0
NuGet\Install-Package xunit.core -Version 2.7.0
<PackageReference Include="xunit.core" Version="2.7.0" />
paket add xunit.core --version 2.7.0
#r "nuget: xunit.core, 2.7.0"
// Install xunit.core as a Cake Addin #addin nuget:?package=xunit.core&version=2.7.0 // Install xunit.core as a Cake Tool #tool nuget:?package=xunit.core&version=2.7.0
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# 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.
- 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 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.
Learn more about Target Frameworks and .NET Standard.
-
- xunit.extensibility.core (= 2.7.0)
- xunit.extensibility.execution (= 2.7.0)
NuGet packages (157)
Showing the top 5 NuGet packages that depend on xunit.core:
Package | Downloads |
---|---|
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. |
|
SpecFlow.xUnit
Package to use SpecFlow with xUnit 2.4 and later |
|
Snapshooter.Xunit
Xunit Snapshooter is a flexible snapshot testing tool for .Net unit tests with Xunit. It creates and asserts snapshots (json) within Xunit unit tests. |
|
Xunit.Extensions.Ordering
Extensions for ordered testing with Xunit. Full support for ordering at all levels - test collections, test classes and test cases. Support for AssemblyFixture including IMessageSink injection and IAsyncLifetime. Supports .NET Core 1.x, .NET Core 2.x. and .NET 4.5.2+ |
|
xRetry
Allows for a [RetryFact(n)] or [RetryTheory(n)] attributes to be placed above tests in XUnit. This can be used to re-run a failed test up to n times, allowing for transient failures (e.g. network related) to be tolerated. |
GitHub repositories (260)
Showing the top 5 popular GitHub repositories that depend on xunit.core:
Repository | Stars |
---|---|
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
|
|
SignalR/SignalR
Incredibly simple real-time web for .NET
|
Version | Downloads | Last updated |
---|---|---|
2.9.2 | 5,733,494 | 9/27/2024 |
2.9.1 | 765,077 | 9/22/2024 |
2.9.0 | 11,404,755 | 7/8/2024 |
2.8.1 | 8,307,506 | 5/25/2024 |
2.8.0 | 4,970,655 | 4/27/2024 |
2.7.1 | 3,463,196 | 4/11/2024 |
2.7.0 | 11,498,068 | 2/16/2024 |
2.6.6 | 7,788,368 | 1/15/2024 |
2.6.5 | 2,121,924 | 1/5/2024 |
2.6.4 | 1,492,472 | 12/22/2023 |
2.6.3 | 2,386,990 | 12/9/2023 |
2.6.2 | 4,811,118 | 11/18/2023 |
2.6.1 | 4,116,060 | 11/2/2023 |
2.6.0 | 416,165 | 10/31/2023 |
2.5.3 | 7,051,484 | 10/16/2023 |
2.5.2 | 612,892 | 10/13/2023 |
2.5.2-pre.6 | 17,547 | 10/8/2023 |
2.5.2-pre.2 | 27,060 | 9/23/2023 |
2.5.1 | 4,069,599 | 9/18/2023 |
2.5.1-pre.33 | 9,253 | 9/10/2023 |
2.5.1-pre.26 | 24,491 | 9/2/2023 |
2.5.1-pre.20 | 55,559 | 8/7/2023 |
2.5.1-pre.12 | 47,057 | 7/21/2023 |
2.5.1-pre.11 | 1,980 | 7/21/2023 |
2.5.0 | 12,914,643 | 7/6/2023 |
2.5.0-pre.44 | 5,747 | 7/3/2023 |
2.5.0-pre.37 | 24,168 | 6/21/2023 |
2.5.0-pre.26 | 12,054 | 6/15/2023 |
2.5.0-pre.22 | 40,682 | 5/31/2023 |
2.5.0-pre.11 | 46,914 | 5/6/2023 |
2.4.2 | 96,185,155 | 8/1/2022 |
2.4.2-pre.27 | 52,183 | 7/24/2022 |
2.4.2-pre.12 | 1,064,022 | 10/3/2021 |
2.4.1 | 254,425,094 | 10/29/2018 |
2.4.1-pre.build.4071 | 22,843 | 10/7/2018 |
2.4.1-pre.build.4059 | 1,231,761 | 8/26/2018 |
2.4.0 | 75,618,051 | 7/17/2018 |
2.4.0-rc.2.build4045 | 6,300 | 7/13/2018 |
2.4.0-rc.1.build4038 | 24,045 | 7/2/2018 |
2.4.0-beta.2.build4010 | 279,099 | 5/29/2018 |
2.4.0-beta.1.build3958 | 201,320 | 2/12/2018 |
2.3.1 | 28,566,512 | 10/27/2017 |
2.3.1-rc2-build3844 | 18,569 | 10/20/2017 |
2.3.1-rc1-build3843 | 5,449 | 10/20/2017 |
2.3.0 | 1,489,746 | 10/6/2017 |
2.3.0-rc3-build3818 | 9,097 | 10/5/2017 |
2.3.0-rc2-build3812 | 6,574 | 10/4/2017 |
2.3.0-rc1-build3809 | 13,623 | 10/2/2017 |
2.3.0-beta5-build3769 | 299,843 | 9/1/2017 |
2.3.0-beta4-build3742 | 171,782 | 8/14/2017 |
2.3.0-beta3-build3705 | 212,119 | 6/8/2017 |
2.3.0-beta2-build3683 | 262,747 | 5/9/2017 |
2.3.0-beta1-build3642 | 148,028 | 4/6/2017 |
2.2.0 | 11,338,656 | 2/20/2017 |
2.2.0-rc4-build3536 | 9,758 | 2/18/2017 |
2.2.0-rc3-build3528 | 66,368 | 2/16/2017 |
2.2.0-rc2-build3523 | 22,321 | 2/13/2017 |
2.2.0-rc1-build3507 | 8,654 | 2/12/2017 |
2.2.0-beta5-build3474 | 521,180 | 1/16/2017 |
2.2.0-beta4-build3444 | 672,382 | 11/6/2016 |
2.2.0-beta3-build3402 | 108,412 | 10/5/2016 |
2.2.0-beta2-build3300 | 3,014,107 | 6/27/2016 |
2.2.0-beta1-build3239 | 80,536 | 12/20/2015 |
2.1.0 | 7,654,320 | 9/27/2015 |
2.1.0-rc2-build3176 | 11,835 | 9/20/2015 |
2.1.0-rc1-build3168 | 28,980 | 9/6/2015 |
2.1.0-beta4-build3109 | 33,120 | 8/5/2015 |
2.1.0-beta3-build3029 | 26,045 | 6/30/2015 |
2.1.0-beta2-build2981 | 24,249 | 5/3/2015 |
2.1.0-beta1-build2945 | 18,260 | 3/21/2015 |
2.0.0 | 2,258,647 | 3/16/2015 |
2.0.0-rc4-build2924 | 12,437 | 3/9/2015 |
2.0.0-rc3-build2880 | 15,087 | 2/23/2015 |
2.0.0-rc2-build2857 | 8,306 | 2/17/2015 |
2.0.0-rc1-build2826 | 16,218 | 1/20/2015 |
2.0.0-beta5-build2785 | 46,099 | 11/20/2014 |
2.0.0-beta4-build2738 | 21,065 | 8/10/2014 |
2.0.0-beta-build2700 | 5,653 | 6/30/2014 |
2.0.0-beta-build2650 | 5,700 | 4/29/2014 |
2.0.0-beta-build2616 | 7,075 | 3/22/2014 |
2.0.0-alpha-build2606 | 4,058 | 3/16/2014 |
2.0.0-alpha-build2595 | 4,322 | 3/9/2014 |
2.0.0-alpha-build2576 | 12,810 | 1/19/2014 |
2.0.0-alpha-build2569 | 3,829 | 1/17/2014 |
2.0.0-alpha-build2562 | 4,093 | 1/3/2014 |
2.0.0-alpha-build2552 | 4,005 | 12/8/2013 |
2.0.0-alpha-build2548 | 4,449 | 11/25/2013 |