Analyzers 1.24.0 2025 August 15
Today, we're shipping three new releases:
- xUnit.net Core Framework v3
3.0.1
(release notes) - xUnit.net Analyzers
1.24.0
- xUnit.net Visual Studio adapter
3.1.4
(release notes)
It's been 1 month since the release of 1.23.0
.
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code. 🎉
Release Notes
These release notes are a comprehensive list of changes from 1.23.0
to 1.24.0
.
General
- We have removed batch fixer support (for real, this time 😬).
Usage Analyzers
- We have updated xUnit1044, xUnit1045, xUnit1046, and xUnit1047 in support of the new tuple serialization added to v3 3.0.1. xunit/xunit#3361
Assertion Analyzers
We have updated xUnit2002 to not trigger when passing unsafe pointers to
Assert.Null
andAssert.NotNull
(support was added in v3 3.0.1). We have also updated xUnit2024 to not trigger when usingAssert.True
orAssert.False
to compare unsafe pointers againstnull
(for v2 and versions of v3 prior to 3.0.1). xunit/xunit#3346We have updated xUnit2023 and its associated fixer to support
Assert.CollectionAsync
.