Core Framework v2 2.9.3 2025 January 8
Today, we're shipping one new release:
- xUnit.net Core Framework v2
2.9.3
It's been 3 months since the release of 2.9.2.
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code. 🎉
Note
We anticipate this to be the last release of Core Framework v2, as all effort is focused on v3 now.
Release Notes
These release notes are a comprehensive list of changes from 2.9.2 to 2.9.3.
Core Framework
We have removed the flow ID from test collection names in TeamCity messages. xunit/xunit#3054
BUG: Fixed an issue with data classes derived from
TheoryData<SomeType[]>when used via[ClassData]. xunit/xunit#3053
Assertion Library
We have added support for
System.UritoAssert.Equivalent.We have added overloads of
Assert.IsTypeandAssert.IsNotTypewhich accept a new parameter:bool exactMatch. Passingtruefor this value is the same as calling the old overloads; passingfalsefor this value is the same as callingAssert.IsAssignableFromorAssert.IsNotAssignableFrom. These new overloads attempt to address naming confusing regarding "assignable from", specifically which argument is the "from" and which is the "to". xunit/xunit#3044BUG: Fixed an issue where
Assert.Equivalentwas throwing while trying to compare properties with getters that return ByRefLike types. These properties are now skipped during comparison. xunit/xunit#3088