Releases: microsoft/testfx
v3.9.3
What's Changed
- Simpler fix for dotnet test when using retry by @Youssef1313 in #5732. Note that this PR targets rel/3.9 branch. For 3.10, we did a different fix: #5717
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.3
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.3
Full Changelog: v3.9.2...v3.9.3
v3.9.2
What's Changed
- Fix MSTEST0042 (duplicate data row) false positive with Zero/NegativeZero by @Youssef1313 in #5684
- Allow framework authors to use TestCase.FullyQualifiedName as the TestNodeUid by @Youssef1313 in #5658
- Ensure TestMethodAttribute.Execute is run on the correct execution context by @Youssef1313 in #5688
- Avoid loading System.Threading.Tasks.Extensions when not needed by @Youssef1313 in #5694
- Fix UseAsync property in TestMethodAttribute derived classes to use type checks by @Youssef1313 and @Copilot in #5708
- Fix UnitTestRunner leaking some test class instances by @Youssef1313 in #5715
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.2
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.2
Full Changelog: v3.9.1...v3.9.2
v3.9.1
What's Changed
- Make ConditionBaseAttribute.Mode public by @youssef-backport-bot in #5597
- Add missing overload for Assert.Throws by @youssef-backport-bot in #5620
- Fix System.MissingMethodException for KeyValuePair Deconstruction by @youssef-backport-bot in #5635
- Run the whole ExecuteInternal logic under the right execution context by @youssef-backport-bot in #5646
- VSTestBridge: Handle TestPropertyAttributes.Trait instead of special casing specific properties by @youssef-backport-bot in #5648
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.1
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.1
Full Changelog: v3.9.0...v3.9.1
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