From 39f2924052b10d7807c04f34d33cf2ba30e9cade Mon Sep 17 00:00:00 2001 From: Youssef1313 Date: Tue, 7 Apr 2026 10:05:17 +0200 Subject: [PATCH 1/6] Update changelogs for v4.2.1 / v2.2.1 release Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/Changelog-Platform.md | 47 ++++++++++++++++++++++++++++++++++++++ docs/Changelog.md | 38 ++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/docs/Changelog-Platform.md b/docs/Changelog-Platform.md index 459ecf1f46..6210f98f1c 100644 --- a/docs/Changelog-Platform.md +++ b/docs/Changelog-Platform.md @@ -4,6 +4,53 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) +## [2.2.1] - 2026-04-07 + +See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4.1.0...v4.2.1) + +### Added + +* Open up orchestrator experimentally by @Evangelink in [#7409](https://github.com/microsoft/testfx/pull/7409) +* Display TFM and test name in Azure DevOps report by @Evangelink in [#7412](https://github.com/microsoft/testfx/pull/7412) +* Print out-of-process artifacts by @Youssef1313 in [#7534](https://github.com/microsoft/testfx/pull/7534) +* Add `--show-stdout` and `--show-stderr` command-line options by @Youssef1313 in [#7637](https://github.com/microsoft/testfx/pull/7637) +* Avoid ANSI and progress output when running in LLM environment by @Youssef1313 in [#7649](https://github.com/microsoft/testfx/pull/7649) + +### Fixed + +* Fix cursor positioning when Console.BufferWidth exceeds Console.WindowWidth by @Copilot in [#7305](https://github.com/microsoft/testfx/pull/7305) +* HangDump should trigger even after test session finish by @Youssef1313 in [#7392](https://github.com/microsoft/testfx/pull/7392) +* Make tracing environment variable case insensitive by @Evangelink in [#7407](https://github.com/microsoft/testfx/pull/7407) +* Ensure post-session display runs after cancellation by @Evangelink in [#7410](https://github.com/microsoft/testfx/pull/7410) +* Fix TestMethod/name value in generated TRX by @Youssef1313 in [#7491](https://github.com/microsoft/testfx/pull/7491) +* Fix ArgumentException in `TestApplicationResult.ConsumeAsync` by @Youssef1313 in [#7496](https://github.com/microsoft/testfx/pull/7496) +* Fix MTP TRX handling of result files by @Youssef1313 in [#7516](https://github.com/microsoft/testfx/pull/7516) +* Guard MTP test targets with `IsTestingPlatformApplication` to prevent interference with VSTest projects by @Copilot in [#7539](https://github.com/microsoft/testfx/pull/7539) +* Fix test definition names in TRX to correspond to test case display names by @Youssef1313 in [#7595](https://github.com/microsoft/testfx/pull/7595) +* Stabilize StdOut/StdErr MTP properties by @Youssef1313 in [#7640](https://github.com/microsoft/testfx/pull/7640) +* Avoid IndexOutOfRangeException in command-line parsing by @Youssef1313 in [#7648](https://github.com/microsoft/testfx/pull/7648) +* Fix TRX fully qualified type name to use TestMethodIdentifierProperty by @Youssef1313 in [#7650](https://github.com/microsoft/testfx/pull/7650) + +### Changed + +* Use the actual process exit code instead of IPC TestHostProcessExitRequest by @Youssef1313 in [#7430](https://github.com/microsoft/testfx/pull/7430) +* Improve ordering of `ITestSessionLifetimeHandler.OnTestSessionFinishingAsync` by @Youssef1313 in [#7520](https://github.com/microsoft/testfx/pull/7520) +* Make MSBuild extension more strict by @Youssef1313 in [#7525](https://github.com/microsoft/testfx/pull/7525) + +### Artifacts + +* Microsoft.Testing.Platform: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Platform/2.2.1) +* Microsoft.Testing.Platform.MSBuild: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Platform.MSBuild/2.2.1) +* Microsoft.Testing.Extensions.CrashDump: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump/2.2.1) +* Microsoft.Testing.Extensions.HangDump: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump/2.2.1) +* Microsoft.Testing.Extensions.HotReload: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload/2.2.1) +* Microsoft.Testing.Extensions.Retry: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry/2.2.1) +* Microsoft.Testing.Extensions.Telemetry: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Telemetry/2.2.1) +* Microsoft.Testing.Extensions.TrxReport: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport/2.2.1) +* Microsoft.Testing.Extensions.TrxReport.Abstractions: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport.Abstractions/2.2.1) +* Microsoft.Testing.Extensions.VSTestBridge: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.VSTestBridge/2.2.1) +* Microsoft.Testing.Extensions.AzureDevOpsReport: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureDevOpsReport/2.2.1) + ## [2.1.0] - 2026-02-03 See full log [of v4.0.2...v4.1.0](https://github.com/microsoft/testfx/compare/v4.0.2...v4.1.0) diff --git a/docs/Changelog.md b/docs/Changelog.md index b90e2fe1b1..359cd68e8b 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -4,6 +4,44 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) +## [4.2.1] - 2026-04-07 + +See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4.1.0...v4.2.1) + +### Added + +* [Experimental] Add TestContext.Current by @Evangelink in [#7315](https://github.com/microsoft/testfx/pull/7315) +* Add settings to launch debugger on test failure by @Evangelink in [#7318](https://github.com/microsoft/testfx/pull/7318) +* Include categories in test context properties by @Youssef1313 in [#7349](https://github.com/microsoft/testfx/pull/7349) +* Extend MSTEST0037 to cover array.Length, enumerable.Count(), Any(), and Contains with comparer by @Copilot in [#7540](https://github.com/microsoft/testfx/pull/7540) + +### Fixed + +* Fix false positive with proper assert analyzer and IComparable by @Evangelink in [#7405](https://github.com/microsoft/testfx/pull/7405) +* Add missing cases to UseProperAssertMethod analyzer by @Evangelink in [#7406](https://github.com/microsoft/testfx/pull/7406) +* Fix issue with exception flattener by @Evangelink in [#7414](https://github.com/microsoft/testfx/pull/7414) +* Fix MSTEST0037 to detect LINQ Enumerable.Contains on interface types by @Evangelink in [#7487](https://github.com/microsoft/testfx/pull/7487) +* Fix MSTEST0049 false positives inside expression trees by @Evangelink in [#7592](https://github.com/microsoft/testfx/pull/7592) +* Avoid serialization for parameterized tests when running MTP+DisableAppDomain by @Youssef1313 in [#7602](https://github.com/microsoft/testfx/pull/7602) +* Fix MSTEST0037 false positive for non-int count argument by @Copilot in [#7624](https://github.com/microsoft/testfx/pull/7624) +* Fix MSTEST0017 false positive with user-defined conversion operators by @Copilot in [#7626](https://github.com/microsoft/testfx/pull/7626) + +### Changed + +* Produce separate result for class/assembly cleanup failures and report on last unignored test by @Youssef1313 in [#7390](https://github.com/microsoft/testfx/pull/7390) + +### Removed + +* Remove unneeded setting `EnableBaseClassTestMethodsFromOtherAssemblies` by @Youssef1313 in [#7404](https://github.com/microsoft/testfx/pull/7404) + +### Artifacts + +* MSTest: [4.2.1](https://www.nuget.org/packages/MSTest/4.2.1) +* MSTest.TestFramework: [4.2.1](https://www.nuget.org/packages/MSTest.TestFramework/4.2.1) +* MSTest.TestAdapter: [4.2.1](https://www.nuget.org/packages/MSTest.TestAdapter/4.2.1) +* MSTest.Analyzers: [4.2.1](https://www.nuget.org/packages/MSTest.Analyzers/4.2.1) +* MSTest.Sdk: [4.2.1](https://www.nuget.org/packages/MSTest.Sdk/4.2.1) + ## [4.1.0] - 2026-02-03 See full log [of v4.0.2...v4.1.0](https://github.com/microsoft/testfx/compare/v4.0.2...v4.1.0) From 06c67fee638a45a36b3d269c266d8cbcfc20d074 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Tue, 7 Apr 2026 10:27:02 +0200 Subject: [PATCH 2/6] Update Changelog-Platform.md --- docs/Changelog-Platform.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Changelog-Platform.md b/docs/Changelog-Platform.md index 6210f98f1c..e62c925d08 100644 --- a/docs/Changelog-Platform.md +++ b/docs/Changelog-Platform.md @@ -14,6 +14,7 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 * Display TFM and test name in Azure DevOps report by @Evangelink in [#7412](https://github.com/microsoft/testfx/pull/7412) * Print out-of-process artifacts by @Youssef1313 in [#7534](https://github.com/microsoft/testfx/pull/7534) * Add `--show-stdout` and `--show-stderr` command-line options by @Youssef1313 in [#7637](https://github.com/microsoft/testfx/pull/7637) +* Stabilize StdOut/StdErr MTP properties by @Youssef1313 in [#7640](https://github.com/microsoft/testfx/pull/7640) * Avoid ANSI and progress output when running in LLM environment by @Youssef1313 in [#7649](https://github.com/microsoft/testfx/pull/7649) ### Fixed @@ -27,7 +28,6 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 * Fix MTP TRX handling of result files by @Youssef1313 in [#7516](https://github.com/microsoft/testfx/pull/7516) * Guard MTP test targets with `IsTestingPlatformApplication` to prevent interference with VSTest projects by @Copilot in [#7539](https://github.com/microsoft/testfx/pull/7539) * Fix test definition names in TRX to correspond to test case display names by @Youssef1313 in [#7595](https://github.com/microsoft/testfx/pull/7595) -* Stabilize StdOut/StdErr MTP properties by @Youssef1313 in [#7640](https://github.com/microsoft/testfx/pull/7640) * Avoid IndexOutOfRangeException in command-line parsing by @Youssef1313 in [#7648](https://github.com/microsoft/testfx/pull/7648) * Fix TRX fully qualified type name to use TestMethodIdentifierProperty by @Youssef1313 in [#7650](https://github.com/microsoft/testfx/pull/7650) From 41ee3a475b864abcba0dff3503519f95bcf90a68 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Tue, 7 Apr 2026 10:29:19 +0200 Subject: [PATCH 3/6] Update Changelog-Platform.md --- docs/Changelog-Platform.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Changelog-Platform.md b/docs/Changelog-Platform.md index e62c925d08..ede0ce9064 100644 --- a/docs/Changelog-Platform.md +++ b/docs/Changelog-Platform.md @@ -50,6 +50,9 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 * Microsoft.Testing.Extensions.TrxReport.Abstractions: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport.Abstractions/2.2.1) * Microsoft.Testing.Extensions.VSTestBridge: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.VSTestBridge/2.2.1) * Microsoft.Testing.Extensions.AzureDevOpsReport: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureDevOpsReport/2.2.1) +* Microsoft.Testing.Platform.AI: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Platform.AI/1.0.0-alpha.26103.11) +* Microsoft.Testing.Extensions.AzureFoundry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureFoundry/1.0.0-alpha.26103.11) +* Microsoft.Testing.Extensions.OpenTelemetry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.OpenTelemetry/1.0.0-alpha.26103.11) ## [2.1.0] - 2026-02-03 From 84592135eceeef8cffb5c0988c8c85c1ec902b18 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Tue, 7 Apr 2026 10:31:29 +0200 Subject: [PATCH 4/6] Update Changelog.md --- docs/Changelog.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/Changelog.md b/docs/Changelog.md index 359cd68e8b..7e92d73dd7 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -10,9 +10,10 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 ### Added -* [Experimental] Add TestContext.Current by @Evangelink in [#7315](https://github.com/microsoft/testfx/pull/7315) +* \[Experimental] Add TestContext.Current by @Evangelink in [#7315](https://github.com/microsoft/testfx/pull/7315) * Add settings to launch debugger on test failure by @Evangelink in [#7318](https://github.com/microsoft/testfx/pull/7318) * Include categories in test context properties by @Youssef1313 in [#7349](https://github.com/microsoft/testfx/pull/7349) +* Produce separate result for class/assembly cleanup failures and report on last unignored test by @Youssef1313 in [#7390](https://github.com/microsoft/testfx/pull/7390) * Extend MSTEST0037 to cover array.Length, enumerable.Count(), Any(), and Contains with comparer by @Copilot in [#7540](https://github.com/microsoft/testfx/pull/7540) ### Fixed @@ -26,10 +27,6 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 * Fix MSTEST0037 false positive for non-int count argument by @Copilot in [#7624](https://github.com/microsoft/testfx/pull/7624) * Fix MSTEST0017 false positive with user-defined conversion operators by @Copilot in [#7626](https://github.com/microsoft/testfx/pull/7626) -### Changed - -* Produce separate result for class/assembly cleanup failures and report on last unignored test by @Youssef1313 in [#7390](https://github.com/microsoft/testfx/pull/7390) - ### Removed * Remove unneeded setting `EnableBaseClassTestMethodsFromOtherAssemblies` by @Youssef1313 in [#7404](https://github.com/microsoft/testfx/pull/7404) @@ -41,6 +38,8 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 * MSTest.TestAdapter: [4.2.1](https://www.nuget.org/packages/MSTest.TestAdapter/4.2.1) * MSTest.Analyzers: [4.2.1](https://www.nuget.org/packages/MSTest.Analyzers/4.2.1) * MSTest.Sdk: [4.2.1](https://www.nuget.org/packages/MSTest.Sdk/4.2.1) +* MSTest.SourceGeneration: [2.0.0-alpha.26202.7](https://www.nuget.org/packages/MSTest.SourceGeneration/2.0.0-alpha.26202.7) +* MSTest.Engine: [2.0.0-alpha.26202.7](https://www.nuget.org/packages/MSTest.Engine/2.0.0-alpha.26202.7) ## [4.1.0] - 2026-02-03 From 0091921ec8fd135f2d5b5f822f9baaee5532f0bc Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Tue, 7 Apr 2026 10:31:55 +0200 Subject: [PATCH 5/6] Update Changelog-Platform.md --- docs/Changelog-Platform.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Changelog-Platform.md b/docs/Changelog-Platform.md index ede0ce9064..0faede0fe0 100644 --- a/docs/Changelog-Platform.md +++ b/docs/Changelog-Platform.md @@ -51,8 +51,8 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 * Microsoft.Testing.Extensions.VSTestBridge: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.VSTestBridge/2.2.1) * Microsoft.Testing.Extensions.AzureDevOpsReport: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureDevOpsReport/2.2.1) * Microsoft.Testing.Platform.AI: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Platform.AI/1.0.0-alpha.26103.11) -* Microsoft.Testing.Extensions.AzureFoundry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureFoundry/1.0.0-alpha.26103.11) -* Microsoft.Testing.Extensions.OpenTelemetry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.OpenTelemetry/1.0.0-alpha.26103.11) +* Microsoft.Testing.Extensions.AzureFoundry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureFoundry/1.0.0-alpha.26202.7) +* Microsoft.Testing.Extensions.OpenTelemetry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.OpenTelemetry/1.0.0-alpha.26202.7) ## [2.1.0] - 2026-02-03 From 0cb1578c080d295cd5dd769ca61ee52a7e5dbba2 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Tue, 7 Apr 2026 10:34:45 +0200 Subject: [PATCH 6/6] Update docs/Changelog-Platform.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/Changelog-Platform.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Changelog-Platform.md b/docs/Changelog-Platform.md index 0faede0fe0..86080fc4bf 100644 --- a/docs/Changelog-Platform.md +++ b/docs/Changelog-Platform.md @@ -50,7 +50,7 @@ See full log [of v4.1.0...v4.2.1](https://github.com/microsoft/testfx/compare/v4 * Microsoft.Testing.Extensions.TrxReport.Abstractions: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport.Abstractions/2.2.1) * Microsoft.Testing.Extensions.VSTestBridge: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.VSTestBridge/2.2.1) * Microsoft.Testing.Extensions.AzureDevOpsReport: [2.2.1](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureDevOpsReport/2.2.1) -* Microsoft.Testing.Platform.AI: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Platform.AI/1.0.0-alpha.26103.11) +* Microsoft.Testing.Platform.AI: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Platform.AI/1.0.0-alpha.26202.7) * Microsoft.Testing.Extensions.AzureFoundry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureFoundry/1.0.0-alpha.26202.7) * Microsoft.Testing.Extensions.OpenTelemetry: [1.0.0-alpha.26202.7](https://www.nuget.org/packages/Microsoft.Testing.Extensions.OpenTelemetry/1.0.0-alpha.26202.7)