xunit.v3 3.0.1

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package xunit.v3 --version 3.0.1
                    
NuGet\Install-Package xunit.v3 -Version 3.0.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.v3" Version="3.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="xunit.v3" Version="3.0.1" />
                    
Directory.Packages.props
<PackageReference Include="xunit.v3" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add xunit.v3 --version 3.0.1
                    
#r "nuget: xunit.v3, 3.0.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.
#:package xunit.v3@3.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=xunit.v3&version=3.0.1
                    
Install as a Cake Addin
#tool nuget:?package=xunit.v3&version=3.0.1
                    
Install as a Cake Tool

xUnit.net v3

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. Supports .NET Framework 4.7.2 or later and .NET 8 or later.

Installing this package installs xunit.v3.core, xunit.v3.assert, and xunit.analyzers.

About xUnit.net

xUnit.net is a free, open source, community-focused unit testing tool for C#, F#, and Visual Basic. xUnit.net v3 supports .NET 8.0 or later, and .NET Framework 4.7.2 or later.

xUnit.net works with the .NET SDK command line tools, Visual Studio, Visual Studio Code, JetBrains Rider, NCrunch, and any development environment compatible with Microsoft Testing Platform or VSTest.

xUnit.net is part of the .NET Foundation and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license). The project is governed by a Project Lead.

For project documentation, please visit the xUnit.net project home.

  • New to xUnit.net? Get started with the .NET SDK.
  • 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.

Powered by NDepend

Latest Builds

Latest stable Latest CI (how to use) Build status
xunit.v3 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 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.

Sponsors

Help support this project by becoming a sponsor through GitHub Sponsors.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on xunit.v3:

Package Downloads
Rystem.Test.XUnit

Rystem is a open-source framework to improve the System namespace in .Net

FsUnit.xUnit

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

Sitko.Core.Xunit

Sitko.Core is a set of libraries to help build .NET Core applications fast

Yextly.Xunit.v3

XUnit utilities

DependencyModules.xUnit

Package Description

GitHub repositories (133)

Showing the top 20 popular GitHub repositories that depend on xunit.v3:

Repository Stars
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
dotnet/wpf
WPF is a .NET Core UI framework for building Windows desktop applications.
RicoSuter/NSwag
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
StackExchange/StackExchange.Redis
General purpose redis client
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
domaindrivendev/Swashbuckle.AspNetCore
Swagger tools for documenting API's built on ASP.NET Core
akkadotnet/akka.net
Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
Cysharp/ZLinq
Zero allocation LINQ with LINQ to Span, LINQ to SIMD, and LINQ to Tree (FileSystem, JSON, GameObject, etc.) for all .NET platforms and Unity, Godot.
sebastienros/jint
Javascript Interpreter for .NET
dotnet/Open-XML-SDK
Open XML SDK by Microsoft
Cysharp/MagicOnion
Unified Realtime/API framework for .NET platform and Unity.
kerryjiang/SuperSocket
SuperSocket is a high-performance, extensible socket server application framework for .NET. It provides a robust architecture for building custom network communication applications with support for multiple protocols including TCP, UDP, and WebSocket.
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
cake-build/cake
:cake: Cake (C# Make) is a cross platform build automation system.
MvvmCross/MvvmCross
The .NET MVVM framework for cross-platform solutions, including Android, iOS, MacCatalyst, macOS, tvOS, WPF, WinUI
fluentassertions/fluentassertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
Version Downloads Last Updated
3.2.0-pre.5 173 9/5/2025
3.0.1 287,554 8/16/2025
3.0.0 393,825 7/14/2025
3.0.0-pre.40 1,475 7/6/2025
3.0.0-pre.25 5,822 6/16/2025
3.0.0-pre.15 1,076 6/8/2025
2.0.3 590,350 6/7/2025
2.0.2 1,101,418 5/3/2025
2.0.1 790,535 4/5/2025
2.0.0 647,413 3/1/2025
1.1.0 1,002,306 2/7/2025
1.0.1 507,705 1/10/2025
1.0.0 235,938 12/16/2024
0.7.0-pre.15 10,097 11/30/2024
0.6.0-pre.7 76,678 11/8/2024
0.5.0-pre.27 16,074 10/18/2024
0.4.0-pre.20 49,905 9/22/2024
0.3.0-pre.18 17,719 8/31/2024
0.2.0-pre.69 13,626 7/31/2024