Microsoft.Testing.Platform 2.3 Streams TRX Reports to Preserve Crash Evidence
Microsoft.Testing.Platform (MTP) version 2.3 introduced streaming TRX test reports that write results incrementally during a test run rather than waiting for a clean shutdown. This means that if a test host crashes abruptly, completed test results are still preserved in a valid partial report. MTP also supports crash-sequence logging and crash dump options that help identify which test was in progress at the time of failure. Together, these artifacts answer three key questions: what tests completed, where execution stopped, and potentially why the crash occurred. A sample project targeting .NET 10 with MSTest.Sdk 4.3.3 demonstrates the feature by deliberately crashing a test host and verifying that the partial TRX and sequence log contain the expected evidence.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in