xunit.v3 2.0.2

Prefix Reserved
dotnet add package xunit.v3 --version 2.0.2
                    
NuGet\Install-Package xunit.v3 -Version 2.0.2
                    
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="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="xunit.v3" Version="2.0.2" />
                    
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 2.0.2
                    
#r "nuget: xunit.v3, 2.0.2"
                    
#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.
#addin nuget:?package=xunit.v3&version=2.0.2
                    
Install xunit.v3 as a Cake Addin
#tool nuget:?package=xunit.v3&version=2.0.2
                    
Install xunit.v3 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

<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.

Powered by NDepend

Latest Builds

Stable Latest CI (how to use) Build status
v3 core framework 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
v2 core framework 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

Special thanks to the .NET on AWS Open Source Software Fund for sponsoring the ongoing development of xUnit.net.

<img src="https://xunit.net/images/aws-logo.svg" style="padding: 10px 0; width: 200px" />

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

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.

DependencyModules.xUnit

Package Description

DependencyModules.xUnit.NSubstitute

Package Description

Eternet.Legacy.EF.Tests

Eternet legacy EF tests customization

GitHub repositories (77)

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

Repository Stars
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.
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.
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.
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
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.
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.
VerifyTests/Verify
Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.
shouldly/shouldly
Should testing for .NET—the way assertions should be!
Cysharp/R3
The new future of dotnet/reactive and UniRx.
SteamRE/SteamKit
SteamKit2 is a .NET library designed to interoperate with Valve's Steam network. It aims to provide a simple, yet extensible, interface to perform various actions on the network.
roslynpad/roslynpad
A cross-platform C# editor based on Roslyn and AvalonEdit
CommunityToolkit/Maui
The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
modelcontextprotocol/csharp-sdk
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
microsoft/CsWin32
A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.
Cysharp/ConsoleAppFramework
Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.
bUnit-dev/bUnit
bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
TNG/ArchUnitNET
A C# architecture test library to specify and assert architecture rules in C# for automated testing.
Version Downloads Last updated
2.0.2 278,138 5/3/2025
2.0.1 600,169 4/5/2025
2.0.0 467,016 3/1/2025
1.1.0 708,125 2/7/2025
1.0.1 430,728 1/10/2025
1.0.0 202,505 12/16/2024
0.7.0-pre.15 9,573 11/30/2024
0.6.0-pre.7 51,553 11/8/2024
0.5.0-pre.27 15,697 10/18/2024
0.4.0-pre.20 47,491 9/22/2024
0.3.0-pre.18 15,949 8/31/2024
0.2.0-pre.69 12,010 7/31/2024