xunit.v3.core 3.2.0-pre.10

Prefix Reserved
This is a prerelease version of xunit.v3.core.
dotnet add package xunit.v3.core --version 3.2.0-pre.10
                    
NuGet\Install-Package xunit.v3.core -Version 3.2.0-pre.10
                    
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.core" Version="3.2.0-pre.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="xunit.v3.core" Version="3.2.0-pre.10" />
                    
Directory.Packages.props
<PackageReference Include="xunit.v3.core" />
                    
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.core --version 3.2.0-pre.10
                    
#r "nuget: xunit.v3.core, 3.2.0-pre.10"
                    
#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.core@3.2.0-pre.10
                    
#: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.core&version=3.2.0-pre.10&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=xunit.v3.core&version=3.2.0-pre.10&prerelease
                    
Install as a Cake Tool

xUnit.net v3 [Core Unit Testing Framework]

Includes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Supports .NET Framework 4.7.2 or later and .NET 8 or later.

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

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

Package Downloads
xunit.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.

Xunit.DependencyInjection.xRetry

Support xRetry. public void ConfigureServices(IServiceCollection services) { services.AddXRetrySupport(); }

Snapshooter.Xunit3

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

Allows for a [RetryFact(n)] or [RetryTheory(n)] attributes to be placed above tests in XUnit.v3. 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 (8)

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

Repository Stars
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.
AwesomeAssertions/AwesomeAssertions
A fork of FluentAssertions controlled by the community.
xunit/samples.xunit
Samples for xUnit.net (please open issues in https://github.com/xunit/xunit)
SwissLife-OSS/snapshooter
Snapshooter is a snapshot testing tool for .NET Core and .NET Framework
Tapanila/SharpCaster
Chromecast C# CLI + SDK
xunit/xunit.analyzers
Roslyn analyzers for xUnit.net (please open issues in https://github.com/xunit/xunit)
DuendeSoftware/foss
Duende's Free and Open Source software.
newrelic/newrelic-dotnet-agent
The New Relic .NET language agent.
Version Downloads Last Updated
3.2.0-pre.10 1,304 9/15/2025
3.2.0-pre.5 708 9/5/2025
3.0.1 499,446 8/16/2025
3.0.0 487,562 7/14/2025
3.0.0-pre.40 1,462 7/6/2025
3.0.0-pre.25 6,220 6/16/2025
3.0.0-pre.15 1,258 6/8/2025
2.0.3 679,380 6/7/2025
2.0.2 1,227,415 5/3/2025
2.0.1 824,920 4/5/2025
2.0.0 690,994 3/1/2025
1.1.0 1,066,978 2/7/2025
1.0.1 572,912 1/10/2025
1.0.0 253,286 12/16/2024
0.7.0-pre.15 10,431 11/30/2024
0.6.0-pre.7 87,898 11/8/2024
0.5.0-pre.27 16,584 10/18/2024
0.4.0-pre.20 50,404 9/22/2024
0.3.0-pre.18 17,980 8/31/2024
0.2.0-pre.69 13,679 7/31/2024