Releases: microsoft/testfx
v3.9.0
In this release we focused a lot on providing fixes for MSTest and Microsoft.Testing.Platform. The most notable new features and fixes are:
MSTest
- Allow async test methods for UITestMethod on UWP and WinUI by @Youssef1313 in #5297
- Add analyzer for duplicate data row by @Youssef1313 in #5144
- Fix ClassCleanup not called when the first test in class is ignored by @Youssef1313 in #5070
- Fix writing warnings outside of appdomain by @nohwnd in #5371
Microsoft.Testing.Platform
- Add (alpha) Azure DevOps extension to report errors by @nohwnd in #5260
- Kill testhost if writing hang dump fails by @Youssef1313 in #5538
We've also improved the dotnet test experience in dotnet SDK, especially around Retry plugin experience, and started dogfooding the experience in our own repository. Please check out how to enable the new dotnet test experience for Microsoft.Testing.Platform in net10 by following this link, and help us dogfood it.
New Contributors
- @stan-sz made their first contribution in #5214
- @YoshiRulz made their first contribution in #5281
- @bjornhellander made their first contribution in #5300
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.0
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.0
Full Changelog: v3.8.3...v3.9.0
v3.9.0-preview.25167.10
[main] Update dependencies from devdiv/DevDiv/vs-code-coverage (#5258) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
v3.8.3
v3.8.2
v3.8.1
v3.8.0
See the release notes here
Announcements
- This release adds new Assert APIs related to throwing exceptions, collections, and strings. Refer to the changelog for more information.
- This release adds support for generic test methods.
- This release adds few new analyzers.
- We added
MSTestAnalysisMode. We encourage you to set this property to at leastRecommended. - This release adds
RetryAttribute - Microsoft.Testing.Extensions.TrxReport and Microsoft.Testing.Extensions.CodeCoverage are now a dependency of MSTest metapackage
v3.7.3
v3.7.2
v3.7.1
v3.7.0
See the release notes here
Announcements
MSTest.Analyzers is now a transitive dependency of MSTest.TestFramework and thus no longer needs to be manually installed.
Note: The only rules enabled by default as warnings, which could potentially cause build errors when updating MSTest, have been carefully selected and thoroughly validated. These rules specifically address real runtime issues related to the usage of MSTest, ensuring that no purely stylistic or low-impact analyzers are enforced by default.