Release Notes for v3 0.7.0-pre.15 [2024 November 30]

.NET Foundation logo

Today, we’re shipping one new prerelease:

It’s been 3 weeks since the release of 0.6.0-pre.7.

As always, we’d like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code contributions. 🎉

Note: Anybody who clones the source for the core project will note that we are now sticking to .NET 8 SDK with global.json. Please make sure you have .NET 8 SDK installed to build the source.

If you are new to v3

We have created two new pieces of documentation that we will continue to evolve as we create newer prerelease versions of xUnit.net v3:

We recommend you read them in that order. The migration guide will help you understand what changes are necessary to get your v2 test project ready to upgrade to v3, and it includes a fairly comprehensive list of the changes (and hopefully relatively small bumps in the road) that you can expect. This latter part is provided primarily in resource form, so rather than reading the giant boring lists, you can do a search on the page when you encounter issues with specific types. Once you’ve got your project ported over to v3, the what’s new guide will be useful to understand what new features are available to you with v3.

Please note that you will need to use a version 3.x.y release of the Visual Studio adapter to run v3 tests, as the 2.x.y releases are only capable of running v1 and v2 tests. We will eventually stop shipping the 2.x.y builds, as the 3.x.y builds are also capable of running v1 and v2 tests. We’d love if users test the 3.x.y release of the Visual Studio adapter even if they cannot migrate to the v3 Core Framework.

Release Notes

These release notes are a list of changes from 0.6.0-pre.7 to 0.7.0-pre.15.

Core Framework

Extensibility

Runner support for Core Framework v3

Supported by the xUnit.net team

Functional:

In-box Console and MSBuild runners
Command line (dotnet test and dotnet vstest) [tested with 17.12.7]
Visual Studio 2022 (Test Explorer) [tested with 17.12.2]
Visual Studio Code [tested with 1.95.3 and C# Dev Kit 1.13.9]

Support for dotnet test, Visual Studio, and Visual Studio Code comes from the Visual Studio runner (a 3.x.y build of xunit.runner.visualstudio).

Supported by third parties

Functional:

NCrunch [requires 5.11 or later]
Resharper/Rider [requires 2024.2 or later]

Status unknown:

CodeRush

Copyright © .NET Foundation. Contributions welcomed at https://github.com/xunit/xunit/tree/gh-pages.