xUnit.net
banner
xunit.net
xUnit.net
@xunit.net
xUnit.net is a free, open source, community-focused unit testing tool for .NET. Source is available at https://github.com/xunit/.

Currently maintained by https://mastodon.social/@bradwilson.
The prerelease packages lists shown on our homepage are currently showing the latest release version instead. We have an open issue with shields.io to hopefully get that resolved: github.com/badges/shiel...

Clicking through will still show you the latest prerelease package (a login is required).
Shields.io
Concise, consistent, and legible badges
shields.io
January 17, 2026 at 5:14 PM
We just shipped Core Framework v3 3.2.2 and Analyzers 1.27.0.

This includes new templates which default to Microsoft Testing Platform v2 and a new Native AOT compatible assertions package (plus bug fixes).

xunit.net/releases/v3/...
xunit.net/releases/ana...

#DotNet #CSharp #FSharp #UnitTest #TDD
January 14, 2026 at 10:37 PM
An update on getting native AOT console runners (to help compensate for deprecating Mono on non-Windows OSes) mastodon.social/@bradwilson/...
Brad Wilson (@[email protected])
Attached: 1 image Success! 🎉 The execution-side of @[email protected] has been made native AOT compatible, resulting in our ability publish a native multi-assembly runner. Right now it's only able...
mastodon.social
January 10, 2026 at 11:14 PM
Part of the work being done to move reports off XSL-T will include upgrading the NUnit XML report from v2 to v3 format. This will ship as part of 4.0.
January 5, 2026 at 9:33 AM
When we release 4.0, we will be switching the default Microsoft.Testing.Platform version from v1 to v2. This may cause compatibility issues with any dependent packages that are built for v1, hence waiting for a major version shift.

We will continue to support your option to choose v1.
January 2, 2026 at 5:03 PM
We are updating the `xunit3` project template in the next release:

* Offering a switch to choose MTP version: v2 (default), v1, or off
* Will not include VSTest support (`xunit.runner.visualstudio`) unless MTP is off

This updates the defaults for new projects without breaking back compat.
December 30, 2025 at 11:30 PM
New doc page: Using Microsoft.Testing.Platform with xUnit.net v2. xunit.net/docs/getting... #DotNet #UnitTest
Microsoft Testing Platform (xUnit.net v2) | xUnit.net
xunit.net
December 30, 2025 at 7:54 PM
Youssef (of the Microsoft TestFx team) is working on a personal project to add support for Microsoft.Testing.Platform to v2 projects, for those are not yet able to migrate to v3. github.com/Youssef1313/... #DotNet #UnitTest
GitHub - Youssef1313/YTest.MTP.XUnit2
Contribute to Youssef1313/YTest.MTP.XUnit2 development by creating an account on GitHub.
github.com
December 25, 2025 at 6:34 PM
Is there interest in us shipping ready-made binaries of xunit.v3.runner.console (via the xunit.v3.runner.console NuGet package) that target .NET instead of .NET Framework? Which runtime IDs would you need to be supported? learn.microsoft.com/en-us/dotnet... #DotNet #UnitTest
.NET Runtime Identifier (RID) catalog - .NET
Learn about the runtime identifier (RID) and how RIDs are used in .NET.
learn.microsoft.com
December 20, 2025 at 8:52 PM
We're merging in the changes for a Native AOT compatible assertion library, because these files are frequently touched. The separation process makes them hard to merge over time.

Attached are lists of files added/changed in xunit/xunit and xunit/assert.xunit.
December 11, 2025 at 2:36 AM
We just celebrated our 40th GitHub Sponsor! Many thanks to the community for keeping the caffeine flowing for @bradwilson.dev 😄
December 8, 2025 at 6:13 PM
We are considering dropping support for Mono from the next major version. (It will likely continue to work, we just won't officially support it.)

Are you still using Mono to run tests? If so, on which OSes? #DotNet #UnitTest
December 4, 2025 at 4:01 PM
We just shipped Core Framework v3 3.2.1 and Analyzers 1.26.0.

This is primarily a bug fix release. Check the release notes for more information.

xunit.net/releases/v3/...
xunit.net/releases/ana...

#DotNet #CSharp #FSharp #UnitTest #TDD
Core Framework v3 3.2.1 | xUnit.net
xunit.net
November 28, 2025 at 10:49 PM
We're going to start pushing CI builds for 4.0.0, as we have two feature branches that require a major version bump already. There's no planned release date yet (not even a planned NuGet release yet), so no idea how long the branch will live.

#DotNet #CSharp #FSharp #UnitTest #TDD
November 16, 2025 at 6:01 PM
Note that this only affects building xUnit.net itself. The minimum target frameworks for using xUnit.net remain unchanged (net472 and net8.0).
November 13, 2025 at 9:48 PM
We are updating the xUnit.net projects today to use .NET 10 SDK. If you want to pull the source and build, you will need the new SDK installed. dotnet.microsoft.com/download

We will be updating the documentation shortly for changes to Microsoft Testing Platform when using .NET 10 SDK.
Download .NET (Linux, macOS, and Windows) | .NET
Free downloads for building and running .NET apps on Linux, macOS, and Windows. Runtimes, SDKs, and developer packs for .NET Framework, .NET, and ASP.NET.
dotnet.microsoft.com
November 13, 2025 at 9:47 PM
If you are using a test case orderer today (implementing `ITestCaseOrderer`), take a peek at this issue that wants to introduce `ITestClassOrderer` and `ITestMethodOrderer` and the impact it has on developers using test case orderers today. Feedback welcome! github.com/xunit/xunit/...
Can ITestClassOrderer be added to complete the ordering support on all levels? · Issue #3424 · xunit/xunit
✅ Assembly is a list of collections - we can order those with ITestCollectionOrderer ❌ Collection is a list of classes - we can not order those (request for ITestClassOrderer) ✅ Class is a list of ...
github.com
November 10, 2025 at 12:28 AM
We just shipped Core Framework v3 3.2.0 and Analyzers 1.25.0.

This includes optional support for Microsoft Testing Platform v2. Check the release notes for more information.

xunit.net/releases/v3/...
xunit.net/releases/ana...

#DotNet #CSharp #FSharp #UnitTest #TDD
Release Notes | xUnit.net
xunit.net
November 2, 2025 at 7:37 PM
Microsoft.Testing.Platform v2 support is now available in a prerelease CI build. Note that we will continue to support v1 by default; you must opt into v2.

More information: github.com/xunit/xunit/...

#DotNet #MicrosoftTestingPlatform
XUnit.V3 compatible version for MTP 2.0.0 · Issue #3416 · xunit/xunit
We are currently updating to MTP 2.0.0 for one of our testing extensions. Since we are using xunit.v3 across our whole code base, we need a compatible version of xunit.v3. Otherwise we run into the...
github.com
October 25, 2025 at 9:44 PM
Just a reminder that we have delayed plans to support MTP v2. Any attempt to use any parts of MTP v2 with xUnit.net v3 will result in failure due to incompatibilities.
Home | xUnit.net
xUnit.net
October 8, 2025 at 4:37 PM
We just shipped Core Framework v3 3.1.0 and Visual Studio adapter 3.1.5.

Check the release notes for new features and bugs fixed.

xunit.net/releases/v3/...
xunit.net/releases/vis...

#DotNet #CSharp #FSharp #UnitTest #TDD
September 28, 2025 at 12:30 AM
Thank you @bitwarden.bsky.social for your generous support of xUnit.net! github.com/sponsors/xunit
Sponsor @xunit on GitHub Sponsors
Support xUnit.net's open source work
github.com
September 17, 2025 at 5:34 PM
We just shipped Core Framework v3 3.2.0-pre.5.

This is specifically for users who wish to try the preview of Microsoft Testing Platform v2. Estimated RTM for 3.2.0 will be close to .NET 10 RTM.

3.1.0 RTM will be later this month.

xunit.net/releases/v3/...

#DotNet #CSharp #FSharp #UnitTest #TDD
Core Framework v3 3.2.0-pre.5 | xUnit.net
xunit.net
September 5, 2025 at 8:22 PM
We just shipped Core Framework v3 3.0.1, Analyzers 1.24.0, and Visual Studio adapter 3.1.4.

Check the release notes for new features and bugs fixed.

xunit.net/releases/v3/...
xunit.net/releases/ana...
xunit.net/releases/vis...

#DotNet #CSharp #FSharp #UnitTest #TDD
Release Notes | xUnit.net
xunit.net
August 16, 2025 at 2:51 AM