Sourced from MSTest.TestFramework's releases.
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
See the release notes here
v3.7.2
See the release notes here
v3.7.1
See the release notes here
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.
v3.6.4
See the release notes here
Sourced from MSTest.TestFramework's changelog.
[3.8.0] - 2025-02-12
See full log here
Added
- Introduce Assert.Throws(Async) and Assert.ThrowsExactly(Async) APIs by
@Evangelink
in #4350- Support generic test method by
@Youssef1313
in #4204- Add support for ValueTuple for all target frameworks by
@Evangelink
in #4360- Auto detect DynamicDataSourceType by
@Youssef1313
in #4340- Open source Retry and Hot Reload extensions by
@Evangelink
in #4354- Add DisplayMessage to TestContext by
@Youssef1313
in #4345- Allow any IEnumerable as return type to DynamicData source member by
@Evangelink
in #4389- Allow AssemblyCleanup/ClassCleanup to have TestContext parameter by
@Youssef1313
in #4387- Update ExpectedException codefix to use the new Assert.Throws[Exactly][Async] overloads by
@Youssef1313
in #4504- Introduce interpolated string handler overloads for assertions by
@Youssef1313
in #4476- Add analyzer for value type usage with Assert.AreSame by
@Youssef1313
in #4493- Allow DynamicData source to be on base types by
@Youssef1313
in #4482- Use different message for Assert.AreEqual when string difference is casing only by
@Youssef1313
in #4525- Report diagnostic when AreNotSame is passed value type by
@Youssef1313
in #4523- Implement analyzer and codefix to switch to Assert.ThrowsExactly[Async] by
@Youssef1313
in #4459- Update ExpectedException analyzer message/description to use the new Assert.Throws methods (and fix typo) by
@Youssef1313
in #4527- Add ability to ignore specific test cases by
@Youssef1313
in #4457- Implement codefix for MSTEST0026: Avoid conditional access in assertions (and small analyzer false positive) by
@Youssef1313
in #4502- Add messageBuilder overloads for Assert.Throws[Exactly][Async] by
@Youssef1313
in #4541- Implement codefix for 'Are[Not]Same' usage with value types by
@Youssef1313
in #4584- Implement analyzer to warn for use of Assert methods in async void by
@Youssef1313
in #4640- Introduce
RetryAttribute
for test methods by@Youssef1313
in #4586- Obsolete InternalTestFailureException and GenericParameterHelper by
@Evangelink
in #4703- Implement MSTestAnalysisMode by
@Youssef1313
in #4712- Add Assert.HasCount by
@Evangelink
in #4748- Add UsingMSTestSdk property by
@aelij
in #4754- Add Assert.HasCount, Assert.IsEmpty, Assert.IsNotEmpty and Assert.ContainsSingle by
@Evangelink
in #4756- Support conditional tests by
@Youssef1313
in #4734- MSTEST0030: add codefix by
@Evangelink
in #4769- Add Contains/DoesNotContain assert APIs by
@Evangelink
in #4799- Add GitHubWorkItem by
@Evangelink
in #4813- Add MSTest trace logs when using MTP by
@Evangelink
in #4833- Add string Contains/DoesNotContain assertions by
@Evangelink
in #4842- Add UWP .NET 9 support for MSTest extensions by
@Sergio0694
in #3848- Add TrxReport dependency to MSTest metapackage by
@Youssef1313
in #4956- Add TestDataRow class by
@Youssef1313
in #4930- Add SourceGen + Engine by
@Evangelink
in #4966- Add CodeCoverage to MSTest metapackage by
@Youssef1313
in #4962Fixed
- Don't consider TestClassAttribute for inheritance when calculating assembly initialize/cleanup by
@Youssef1313
in #4318- Fix false positive for PreferTestCleanupOverDispose on non-test classes by
@Youssef1313
in #4378- Report diagnostic if DynamicData is referencing a member that's not method/property (e.g, field) (and some cleanup) by
@Youssef1313
in #4383
... (truncated)
b1cedb7
[rel/3.8] Update deps (#4984)a9e46d6
Follow-up to the move of SourceGen + Engine (#4971)d454a96
Bump .NET runtimes (#4983)1f6fd33
Remove redundant explicit override of NuGet.Packaging and MessagePack
(#4981)1a2a5bf
Move Microsoft.Win32.Registry
dependency from "Test
dependencies" to "Produ...7c86507
[main] Update dependencies from devdiv/DevDiv/vs-code-coverage (#4975)6c2cd50
[main] Bump Microsoft.Extensions.FileSystemGlobbing from 9.0.1 to 9.0.2
(#4980)1162fac
[main] Bump System.Management from 9.0.1 to 9.0.2 (#4978)288990c
[main] Bump MSTest.Analyzers and
Microsoft.NETFramework.ReferenceAssemblies (...e5df1c0
[main] Bump FSharp.Core and Microsoft.NETFramework.ReferenceAssemblies
(#4977)Sourced from Handlebars.Net.Helpers's changelog.
2.4.10 (25 January 2025)
2.4.9 (21 January 2025)
2.4.8 (29 December 2024)
2.4.7 (28 November 2024)