NewYour coding agent can read the release notes before it upgrades.Set up the MCP server โ
NuGet
NuGet, #711 most downloaded on NuGet
In-process console runner for xUnit.net framework, providing the entrypoint for self-executing unit tests. Supports .NET Framework 4.7.2 or later, and .NET 8 or later.
Latest stable
4.0.3
Last release 14 days ago
09 Nov 2026
Release timing varies
gaps range from 4 weeks to 7 months
Some releases are documented
notes for 5 of 17 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
17 releases ยท first in 2024
Drag across the ruler to compare, or tap a release to open it.
Today, we're shipping three new releases:
Today, we're shipping three new releases:
xUnit.net Core Framework v3 4.0.3
xUnit.net Analyzers 2.3.0 ( release notes )
It's been 4 weeks since the release of 4.0.2 .
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code. ๐
These release notes are a list of changes from 4.0.2 to 4.0.3 .
BUG: We have fixed an issue where the crash detection logic could incorrect claim a test process crashed prematurely. xunit/xunit#3656
BUG: We have fixed an issue which incorrectly reported interface methods are "invalid overloads" of a test method when using an interface as a "test implementation template". xunit/xunit#3655
We have improved the argument validation logic so that all errors are reported correctly before the system tries to run the tests. We have also updated several validation messages to be clearer about which switch and value are causing the validation failure. xunit/xunit#3654
We have overhauled the way cleanup failures are reported to Microsoft Testing Platform. Test cleanup failures and test case cleanup failures will be reported against the test case to which they belong as an additional failure (in addition to any existing results for that test case); all other cleanup failures will be reported as additional failures for all test cases in which they could be affected (for example, a test class cleanup failure will be reported as a failure for all test cases that are associated with the test class). Note that this behavior differs from our first party support for cleanup failures, will reports them as separate "errors", a concept which is not available via Microsoft Testing Platform. xunit/xunit#3660
The Microsoft Testing Platform v2 packages have been updated to version 2.5.2.
Edit this page
Your coding agent can read these notes before it upgrades. Set up the MCP server โ
Release notes: https://xunit.net/releases/v3/4.0.2
Release notes: https://xunit.net/releases/v3/4.0.2
Today, we're shipping three new releases:
xUnit.net Core Framework v3 4.0.2
xUnit.net Analyzers 2.2.0 ( release notes )
xUnit.net Visual Studio adapter 4.0.1 ( release notes )
It's been 4 weeks since the release of 4.0.1 .
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code. ๐
These release notes are a list of changes from 4.0.1 to 4.0.2 .
BUG: We fixed issues related to the new parallelization system that was sometimes causing tests marked as non-parallel to run as parallel, as well as causing parallel tests scheduled after sequential tests to run sequentially instead of reverting back to parallelism. xunit/xunit#3629 xunit/xunit#3630
BUG: We fixed an issue where ITestOutputHelper would sometimes incorrectly escape ANSI sequences that should have been left unescaped. xunit/xunit#3636
BUG: We fixed an issue with DataAttribute , InlineDataAttribute , and ITheoryDataRow that were causing them not to honor SkipType , SkipWhen , and/or SkipUnless . xunit/xunit#3642
BUG: We fixed an issue where overloaded test methods were mistakenly reporting a AmbiguousMatchException rather than correctly reporting the error that overloaded test methods are not supported. Note that the error is reported at run time in reflection-mode; Native AOT-mode does not report an error (does not try to run the test method at all), and depends on the user not disabling xUnit1024 to raise a build time error. xunit/xunit#3645
We have updated the XML (Intellisense) documentation for IAsyncLifetime to document the fact that classes which throw in InitializeAsync() will not have their DisposeAsync() called, since we consider this to be the philosophical equivalent to an async constructor.
BUG: We fixed an issue where using a small multiplier for maximum threads could cause the multiplication to end up as 0 , causing unlimited threads. This has been fixed to ensure the multiplier will always result in at least one thread, so there is always thread limiting when using a multiplier. xunit/xunit#3628
BUG: We fixed an issue where ANSI codes in test output was causing XML-based reports to either be broken or missing. xunit/xunit#3634
BUG: We fixed an issue newline handling for TRX reports was incorrectly handled on non-Windows OSes. xunit/xunit#3634
BUG: Fixed an issue with Native AOT generation where string constants with non-printable characters could cause compilation issues. xunit/xunit#3625
BUG: Fixed an issue where source generation would fail to include inherited test methods. xunit/xunit#3627
For users who are using testconfig.json to configure xUnit.net, we have added a JSON schema! This is parallel to the one we publish for xunit.runner.json . The schema includes links to the Microsoft documentation for the sections that are generic to MTP. We've updated the documentation for testconfig.json and added a new doc page for the schema .
The Microsoft Testing Platform v2 packages have been updated to version 2.5.1.
Edit this page
Release notes: https://xunit.net/releases/v3/4.0.1
Release notes: https://xunit.net/releases/v3/4.0.1
Today, we're shipping two new releases:
xUnit.net Core Framework v3 4.0.1
xUnit.net Analyzers 2.1.0 ( release notes )
It's been 4 weeks since the release of 4.0.0 .
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code. ๐
These release notes are a list of changes from 4.0.0 to 4.0.1 .
We have added the ability to disable all C# compiler warnings for generated code. Place this property into your .csproj file:
<PropertyGroup> <DefineConstants>$(DefineConstants);XUNIT_GENERATED_DISABLE_WARNINGS</DefineConstants> </PropertyGroup>
This disable warnings for the auto-generated entry point and all source generators for Native AOT. It should only be used if the generated code is conflicting with an analyzer, as compiler warnings can be helpful in diagnosing code generation issues. xunit/xunit#3606
BUG: Serialization of DateTime and DateTimeOffset were normalizing values to UTC, which lost the original timezone when deserialized. This could cause the test cases with identical moments in time in different timezones to be rejected as duplicate, even though the original data wasn't identical. xunit/xunit#3614
We have added a new Markdown results report ( -result-markdown in xUnit.net command line UX, --report-xunit-markdown in Microsoft Testing Platform UX, and Markdown='filename' in the MSBuild runner). This is a simplified report which shows summary information as well as details for any non-passing tests. See the linked issue for an example multi-assembly report. xunit/xunit#3615
We have updated the CTRF report to add /results/summary/duration to show overall clock time of the test run, as well as adding /results/environment/extra/machine and /results/environment/extra/user to better align with the Microsoft Testing Platform CTRF results.
Edit this page
Release notes: https://xunit.net/releases/v3/4.0.0
Release notes: https://xunit.net/releases/v3/4.0.0
Release notes: https://xunit.net/releases/v3/3.2.2
Release notes: https://xunit.net/releases/v3/3.2.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per month.