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
<PackageReference Include="xunit.v3" Version="2.0.2" />
<PackageVersion Include="xunit.v3" Version="2.0.2" />
<PackageReference Include="xunit.v3" />
paket add xunit.v3 --version 2.0.2
#r "nuget: xunit.v3, 2.0.2"
#addin nuget:?package=xunit.v3&version=2.0.2
#tool nuget:?package=xunit.v3&version=2.0.2
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 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, .NET Core, and devices.
- 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
Stable | Latest CI (how to use) | Build status | |
---|---|---|---|
v3 core framework | |||
v2 core framework | |||
xunit.analyzers | |||
xunit.runner.visualstudio |
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 | Versions 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. |
-
.NETFramework 4.7.2
- xunit.analyzers (>= 1.21.0)
- xunit.v3.assert (= 2.0.2)
- xunit.v3.core (= 2.0.2)
-
net8.0
- xunit.analyzers (>= 1.21.0)
- xunit.v3.assert (= 2.0.2)
- xunit.v3.core (= 2.0.2)
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 |