Fix empty stack traces in release mode when using Microsoft Testing Platform#6196
Fix empty stack traces in release mode when using Microsoft Testing Platform#6196Evangelink with Copilot wants to merge 4 commits into
Build Windows Release failed
Annotations
Check failure on line 42 in test/IntegrationTests/MSTest.IntegrationTests/OutputTests.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
test/IntegrationTests/MSTest.IntegrationTests/OutputTests.cs#L42
test/IntegrationTests/MSTest.IntegrationTests/OutputTests.cs(42,1): error : Expected boolean to be True because Tests must run in parallel, but there were no other tests that started, before the first one ended., but found False.
azure-pipelines / microsoft.testfx (Build Windows Release)
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs#L150
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs(150,1): error : Object reference not set to an instance of an object.
azure-pipelines / microsoft.testfx (Build Windows Release)
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs#L165
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs(165,1): error : Object reference not set to an instance of an object.
azure-pipelines / microsoft.testfx (Build Windows Release)
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestClassInfoTests.cs#L359
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestClassInfoTests.cs(359,1): error : Object reference not set to an instance of an object.
Check failure on line 165 in test/Utilities/TestFramework.ForTestingMSTest/TestContainer.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
test/Utilities/TestFramework.ForTestingMSTest/TestContainer.cs#L165
test/Utilities/TestFramework.ForTestingMSTest/TestContainer.cs(165,1): error : Verification failed for exception.StackTraceInformation!.ErrorStackTrace.StartsWith(
" at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.UnitTests.Execution.TestMethodInfoTests.<>c.<TestMethodInfoInvokeWhenTestThrowsAssertFailReturnsExpectedResult>b__", StringComparison.Ordinal) at line 647 of method 'TestMethodInfoInvokeWhenTestThrowsAssertFailReturnsExpectedResult' in file '/_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestMethodInfoTests.cs'.