Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions docs/Changelog-Platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,62 @@ 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/)

## <a name="2.1.0" />[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)

### Added

* Add AI support to the `Microsoft.Testing.Platform` by @MarcoRossignoli in [#6777](https://github.com/microsoft/testfx/pull/6777)
* this is currently a prototype only.
* Avoid BlockingCollection in AsyncConsumerDataProcessor by @Youssef1313 in [#6887](https://github.com/microsoft/testfx/pull/6887)
* \[MTP] Add initial support for OTel by @Evangelink in [#6511](https://github.com/microsoft/testfx/pull/6511)
* Remove experimental attr from NopFilter by @mariam-abdulla in [#7169](https://github.com/microsoft/testfx/pull/7169)
* Obsolete AddTestSessionLifetimeHandle in favor of AddTestSessionLifetimeHandler by @Youssef1313 in [#7200](https://github.com/microsoft/testfx/pull/7200)
* Allow none for --hangdump-type by @Youssef1313 in [#7213](https://github.com/microsoft/testfx/pull/7213)

### Fixed

* VSTestBridge: Don't add TRX properties when TRX not enabled by @Youssef1313 in [#6872](https://github.com/microsoft/testfx/pull/6872)
* Obsolete CancelledTestNodeStateProperty by @Copilot in [#6828](https://github.com/microsoft/testfx/pull/6828)
* Fix hangdump not working under dotnet test with .NET 10 SDK by @Copilot in [#6968](https://github.com/microsoft/testfx/pull/6968)
* Remove incorrect DefaultHangTimeSpanTimeout in HangDumpActivityIndicator by @Youssef1313 in [#7006](https://github.com/microsoft/testfx/pull/7006)
* Fix hangdump on macOS by @Youssef1313 in [#7005](https://github.com/microsoft/testfx/pull/7005)
* Include test display name in AzDO error reports by @Copilot in [#7026](https://github.com/microsoft/testfx/pull/7026)
* Fix race in HangDumpProcessLifetimeHandler for pipe server field read/write by @Youssef1313 in [#7048](https://github.com/microsoft/testfx/pull/7048)
* Fix MTP command-line parsing by @Youssef1313 in [#7044](https://github.com/microsoft/testfx/pull/7044)
* Fix TRX not produced under `dotnet test` when using `--crashdump` and crash happens by @Copilot in [#7040](https://github.com/microsoft/testfx/pull/7040)
* Fix: runsettings environment variables ignored during test discovery by @Copilot in [#7078](https://github.com/microsoft/testfx/pull/7078)
* Fix Jsonite implementation to handle surrogates correctly by @Youssef1313 in [#7201](https://github.com/microsoft/testfx/pull/7201)
* Fix MTP Trx handling of the final outcome by @Youssef1313 in [#7234](https://github.com/microsoft/testfx/pull/7234)
* Avoid duplicating exception message when running with dotnet test by @Youssef1313 in [#7250](https://github.com/microsoft/testfx/pull/7250)
* Disable progress on non-capable terminals by @Youssef1313 in [#7248](https://github.com/microsoft/testfx/pull/7248)
* Report discovered telemetry events correctly for MTP by @Youssef1313 in [#7219](https://github.com/microsoft/testfx/pull/7219)

### Housekeeping

* Cleanup TestApplication by @Youssef1313 in [#6728](https://github.com/microsoft/testfx/pull/6728)
* Cleanup Dispose implementations by @Youssef1313 in [#6730](https://github.com/microsoft/testfx/pull/6730)
* Clarify --retry-failed-tests requires a numeric argument by @Copilot in [#6830](https://github.com/microsoft/testfx/pull/6830)
* Cleanup vstest.TestCase.StandardError/vstest.TestCase.StandardOutput by @Youssef1313 in [#6870](https://github.com/microsoft/testfx/pull/6870)

### Artifacts

* Microsoft.Testing.Platform: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Platform/2.1.0)
* Microsoft.Testing.Platform.MSBuild: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Platform.MSBuild/2.1.0)
* Microsoft.Testing.Extensions.CrashDump: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump/2.1.0)
* Microsoft.Testing.Extensions.HangDump: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump/2.1.0)
* Microsoft.Testing.Extensions.HotReload: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload/2.1.0)
* Microsoft.Testing.Extensions.Retry: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry/2.1.0)
* Microsoft.Testing.Extensions.Telemetry: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Telemetry/2.1.0)
* Microsoft.Testing.Extensions.TrxReport: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport/2.1.0)
* Microsoft.Testing.Extensions.TrxReport.Abstractions: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport.Abstractions/2.1.0)
* Microsoft.Testing.Extensions.VSTestBridge: [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.VSTestBridge/2.1.0)
* Microsoft.Testing.Extensions.AzureDevOpsReport [2.1.0](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureDevOpsReport/2.1.0)
* Microsoft.Testing.Platform.AI: [1.0.0-alpha.26103.11](https://www.nuget.org/packages/Microsoft.Testing.Platform.AI/1.0.0-alpha.26103.11)
* Microsoft.Testing.Extensions.AzureFoundry: [1.0.0-alpha.26103.11](https://www.nuget.org/packages/Microsoft.Testing.Extensions.AzureFoundry/1.0.0-alpha.26103.11)
* Microsoft.Testing.Extensions.OpenTelemetry: [1.0.0-alpha.26103.11](https://www.nuget.org/packages/Microsoft.Testing.Extensions.OpenTelemetry/1.0.0-alpha.26103.11)

## <a name="2.0.2" />[2.0.2] - 2025-11-11

See full log [of v4.0.1...v4.0.2](https://github.com/microsoft/testfx/compare/v4.0.1...v4.0.2)
Expand Down
71 changes: 71 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,77 @@ 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/)

## <a name="4.1.0" />[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)

### Added

* Add analyzer to detect assertions in catch blocks (MSTEST0058) by @Copilot in [#6801](https://github.com/microsoft/testfx/pull/6801)
* Analyzer implementation to enhance assertions by @AtolagbeMuiz in [#6720](https://github.com/microsoft/testfx/pull/6720)
* implemented non-generic overload for Assert.ContainsSingle by @AtolagbeMuiz in [#6736](https://github.com/microsoft/testfx/pull/6736)
* Codefix for MSTEST0023 by @AtolagbeMuiz in [#6796](https://github.com/microsoft/testfx/pull/6796)
* Add MSTEST0059: Detect conflicting Parallelize and DoNotParallelize attributes by @Copilot in [#6823](https://github.com/microsoft/testfx/pull/6823)
* Add IsExactInstanceOfType assertion methods by @Copilot in [#7077](https://github.com/microsoft/testfx/pull/7077)
* MSTEST0061: Add analyzer for OSCondition by @Copilot in [#7015](https://github.com/microsoft/testfx/pull/7015)
* MSTEST0060: Add analyzer for duplicate test method attributes by @Copilot in [#7076](https://github.com/microsoft/testfx/pull/7076)
* Add analyzer and code fix for test methods with out/ref parameters by @Copilot in [#7108](https://github.com/microsoft/testfx/pull/7108)
* Add UseSTASynchronizationContext to STATestMethod by @Youssef1313 in [#7192](https://github.com/microsoft/testfx/pull/7192)
* Add analyzer for invalid test class constructors (MSTEST0063) by @Copilot in [#7276](https://github.com/microsoft/testfx/pull/7276)

### Fixed

* Ensure TestContext.WriteLine is writing to the given TestContext by @Youssef1313 in [#6731](https://github.com/microsoft/testfx/pull/6731)
* Fix deployment regression by @Youssef1313 in [#6718](https://github.com/microsoft/testfx/pull/6718)
* Fix DeploymentItem when appdomain is disabled or not available by @Youssef1313 in [#6772](https://github.com/microsoft/testfx/pull/6772)
* Fix diff marker in Assert.AreEqual when strings are compared to not point at '...' by @nohwnd in [#6794](https://github.com/microsoft/testfx/pull/6794)
* Remove InvokeAsSynchronousTask and switch to async by @Youssef1313 in [#6832](https://github.com/microsoft/testfx/pull/6832)
* Use .. range indicator for IsInRange by @nohwnd in [#6875](https://github.com/microsoft/testfx/pull/6875)
* Fix DisableAppDomain default value when not running in isolation under VSTest by @Copilot in [#6900](https://github.com/microsoft/testfx/pull/6900)
* Fix MSTEST0057 false positive on static constructors by @Copilot in [#6937](https://github.com/microsoft/testfx/pull/6937)
* Allow minValue and maxValue to equal in Assert.IsInRange by @Youssef1313 in [#6976](https://github.com/microsoft/testfx/pull/6976)
* Fix typo in Assert.Throws doc by @Youssef1313 in [#7016](https://github.com/microsoft/testfx/pull/7016)
* Cleanup and fix FixtureMethodFixture by @Youssef1313 in [#7020](https://github.com/microsoft/testfx/pull/7020)
* Fix OSConditionAttribute to detect OS via reflection for .NET Framework on Mono by @Copilot in [#7001](https://github.com/microsoft/testfx/pull/7001)
* MSTEST0037: Report diagnostics for user-defined operators when they originate from BCL by @Youssef1313 in [#7037](https://github.com/microsoft/testfx/pull/7037)
* Fix MSTEST0037 ContainsSingle codefix removing wrong arguments by @Copilot in [#7091](https://github.com/microsoft/testfx/pull/7091)
* Fix MSTEST0056 when wrapping TestMethodAttribute by @Evangelink in [#7142](https://github.com/microsoft/testfx/pull/7142)
* Fix IsTestApplication default for .NET Standard by @Youssef1313 in [#7199](https://github.com/microsoft/testfx/pull/7199)
* MSTEST0037: Fix false positive with enums by @Youssef1313 in [#7206](https://github.com/microsoft/testfx/pull/7206)
* Fix AssemblyCleanup running when not all class cleanups might have finished by @Youssef1313 in [#7173](https://github.com/microsoft/testfx/pull/7173)
* Fix TypeCache to throw on duplicate attributes when necessary by @Youssef1313 in [#7223](https://github.com/microsoft/testfx/pull/7223)
* Downgrade some analyzers back to info by @Youssef1313 in [#7233](https://github.com/microsoft/testfx/pull/7233)
* Avoid using init for TestMethod attribute properties by @Youssef1313 in [#7241](https://github.com/microsoft/testfx/pull/7241)
* Ensure code fixers are handling indentation/newlines correctly by @Evangelink in [#7235](https://github.com/microsoft/testfx/pull/7235)
* Fix SynchronizationContext which is set in TestInitialize not preserved in test method by @Copilot in [#7202](https://github.com/microsoft/testfx/pull/7202)
* Fix MSTEST0037 false positive for char overloads by @Youssef1313 in [#7263](https://github.com/microsoft/testfx/pull/7263)
* Fix Assert.Inconclusive in constructor to behave consistently with TestInitialize by @Copilot in [#7304](https://github.com/microsoft/testfx/pull/7304)

### Removed

* Remove ConsiderFixturesAsSpecialTests by @Youssef1313 in [#7189](https://github.com/microsoft/testfx/pull/7189)

### Housekeeping

* Update polyfill and use EmbeddedAttribute by @Youssef1313 in [#6701](https://github.com/microsoft/testfx/pull/6701)
* Cleanup MSTestSettings in adapter by @Youssef1313 in [#6722](https://github.com/microsoft/testfx/pull/6722)
* Cleanup deployment item for UWP/WinUI by @Youssef1313 in [#6851](https://github.com/microsoft/testfx/pull/6851)
* Update WinAppSDK by @Youssef1313 in [#6940](https://github.com/microsoft/testfx/pull/6940)

### New Contributors

* @mmitche made their first contribution in [#6944](https://github.com/microsoft/testfx/pull/6944)

### Artifacts

* MSTest: [4.1.0](https://www.nuget.org/packages/MSTest/4.1.0)
* MSTest.TestFramework: [4.1.0](https://www.nuget.org/packages/MSTest.TestFramework/4.1.0)
* MSTest.TestAdapter: [4.1.0](https://www.nuget.org/packages/MSTest.TestAdapter/4.1.0)
* MSTest.Analyzers: [4.1.0](https://www.nuget.org/packages/MSTest.Analyzers/4.1.0)
* MSTest.Sdk: [4.1.0](https://www.nuget.org/packages/MSTest.Sdk/4.1.0)
* MSTest.SourceGeneration: [2.0.0-alpha.26103.11](https://www.nuget.org/packages/MSTest.SourceGeneration/2.0.0-alpha.26103.11)
* MSTest.Engine: [2.0.0-alpha.26103.11](https://www.nuget.org/packages/MSTest.Engine/2.0.0-alpha.26103.11)

## <a name="4.0.2" />[4.0.2] - 2025-11-11

See full log [of v4.0.1...v4.0.2](https://github.com/microsoft/testfx/compare/v4.0.1...v4.0.2)
Expand Down