Today, we're shipping three new releases:
It's been 14 months since the release of 2.4.5 RTM.
This version has updated the minimum framework support to .NET Framework 4.6.2+ and .NET 6.0+, and has removed support for UWP. Users who require support for UWP or older version of .NET/.NET Core should continue to use an older build of this adapter.
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code contributions. 🎉 And we would especially like to thank Claire Novotny who had been maintaining the Visual Studio adapter for several years.
Note that we have moved away from Twitter for our occasional updates, and now make those available
on our Mastodon account: @xunit@dotnet.social
.
You may follow along by creating a Mastodon account
and following our account, or via a news reader using the RSS feed.
These release notes are a comprehensive list of changes from 2.4.5 to 2.5.0.
ExcludeFromCodeCoverageAttribute
to all the xUnit.net assemblies.
This should resolve issues with dotnet test ---collect "Code Coverage"
(the new
cross-platform code coverage system) incorrectly showing coverage for the adapter.
xunit/xunit#2682
failSkips
configuration element to convert skipped tests into failed tests.
stopOnFail
configuration file
element.
DisableAppDomain
run setting from VSTest was supported for
execution but ignored for discovery. This has been fixed to be honored now for both, which should
dramatically improve discovery performance for any .NET Framework projects when VSTest has indicated
that app domains are not required. In simple testing with 10k tests on a machine with an AMD 5900X CPU
and 64GB of RAM, this cut discovery time roughly in half, bringing it in line with the discovery time
for .NET Core projects (which have never supported app domains).
xunit/visualstudio.xunit#331
*reporters*.dll
which may break any custom reporters you are using from first or
third party assemblies without an appropriate name.
xunit/visualstudio.xunit#317
BUG: Fixed an issue where data-driven tests with only a params array could not be run with an empty `[InlineData]` declaration. For example, this worked:
But this would not:
xunit/visualstudio.xunit#371