xunit.core
2.6.4
Prefix Reserved
This package will only be updated for security issues. All future feature work has moved onto v3.
Guide for migrating from xUnit.net v2 to v3: https://xunit.net/docs/getting-started/v3/migration
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package xunit.core --version 2.6.4
NuGet\Install-Package xunit.core -Version 2.6.4
<PackageReference Include="xunit.core" Version="2.6.4" />
<PackageVersion Include="xunit.core" Version="2.6.4" />
<PackageReference Include="xunit.core" />
paket add xunit.core --version 2.6.4
#r "nuget: xunit.core, 2.6.4"
#:package xunit.core@2.6.4
#addin nuget:?package=xunit.core&version=2.6.4
#tool nuget:?package=xunit.core&version=2.6.4
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.6.4)
- xunit.extensibility.execution (= 2.6.4)
NuGet packages (171)
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. |
|
|
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. |
|
|
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+ |
GitHub repositories (247)
Showing the top 20 popular GitHub repositories that depend on xunit.core:
| Repository | Stars |
|---|---|
|
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.
|
|
|
dotnet/orleans
Cloud Native application framework for .NET
|
|
|
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
|
|
|
SignalR/SignalR
Incredibly simple real-time web for .NET
|
|
|
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
|
|
|
Azure/azure-powershell
Microsoft Azure PowerShell
|
|
|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
|
cairoshell/cairoshell
Cairo is a customizable, intuitive desktop environment for Windows.
|
|
|
hirschmann/nbfc
NoteBook FanControl
|
|
|
migueldeicaza/TensorFlowSharp
TensorFlow API for .NET languages
|
|
|
projectkudu/kudu
Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
|
|
|
PomeloFoundation/Pomelo.EntityFrameworkCore.MySql
Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector
|
|
|
microsoft/Git-Credential-Manager-for-Windows
Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication.
|
|
|
mono/monodevelop
MonoDevelop is a cross platform .NET IDE
|
|
|
dotnet/corert
This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
|
|
|
dotnet/iot
This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.
|
|
|
jwallet/spy-spotify
🎤 Records Spotify to mp3 without ads and adds media tags to the files 🎵
|
|
|
RolandPheasant/TailBlazer
A modern file tail utility based on Rx.Net which show cases reactive programming and Dynamic Data (see https://github.com/RolandPheasant/DynamicData)
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 2.9.3 | 107,935,704 | 1/8/2025 | |
| 2.9.2 | 52,306,972 | 9/27/2024 | |
| 2.9.1 | 2,165,984 | 9/22/2024 | |
| 2.9.0 | 29,055,457 | 7/8/2024 | |
| 2.8.1 | 19,617,792 | 5/25/2024 | |
| 2.8.0 | 9,813,157 | 4/27/2024 | |
| 2.7.1 | 6,239,269 | 4/11/2024 | |
| 2.7.0 | 19,770,804 | 2/16/2024 | |
| 2.6.6 | 13,500,905 | 1/15/2024 | |
| 2.6.5 | 3,094,699 | 1/5/2024 | |
| 2.6.4 | 2,199,336 | 12/22/2023 | |
| 2.6.3 | 3,925,459 | 12/9/2023 | |
| 2.6.2 | 8,685,837 | 11/18/2023 | |
| 2.6.1 | 8,004,830 | 11/2/2023 | |
| 2.6.0 | 680,122 | 10/31/2023 | |
| 2.5.3 | 33,726,017 | 10/16/2023 | |
| 2.5.2 | 755,157 | 10/13/2023 | |
| 2.5.2-pre.6 | 19,012 | 10/8/2023 | |
| 2.5.2-pre.2 | 30,867 | 9/23/2023 | |
| 2.5.1 | 6,012,797 | 9/18/2023 |