diff --git a/Directory.Build.props b/Directory.Build.props index 045a8917ff..c654892102 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -39,12 +39,11 @@ - alpha - 1.0.0 + alpha @@ -63,6 +62,12 @@ true + + + + TestingPlatformRunner + + diff --git a/Directory.Packages.props b/Directory.Packages.props index 3ac12f24f5..ab9ae827ac 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -36,6 +36,7 @@ + diff --git a/TestFx.sln b/TestFx.sln index d8d48028b3..7806656287 100644 --- a/TestFx.sln +++ b/TestFx.sln @@ -72,6 +72,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "IntegrationTests", "Integra EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestAssets", "TestAssets", "{C9F82701-0E0F-4E61-B05B-AE387E7631F6}" ProjectSection(SolutionItems) = preProject + test\IntegrationTests\TestAssets\Directory.Build.props = test\IntegrationTests\TestAssets\Directory.Build.props test\IntegrationTests\TestAssets\Directory.Build.targets = test\IntegrationTests\TestAssets\Directory.Build.targets EndProjectSection EndProject diff --git a/samples/Playground/Playground.csproj b/samples/Playground/Playground.csproj index a4123f3a05..58895bd353 100644 --- a/samples/Playground/Playground.csproj +++ b/samples/Playground/Playground.csproj @@ -18,7 +18,6 @@ - diff --git a/src/Adapter/MSTest.TestAdapter/MSTest.TestAdapter.csproj b/src/Adapter/MSTest.TestAdapter/MSTest.TestAdapter.csproj index 79e7ede4a6..1a3ad695d1 100644 --- a/src/Adapter/MSTest.TestAdapter/MSTest.TestAdapter.csproj +++ b/src/Adapter/MSTest.TestAdapter/MSTest.TestAdapter.csproj @@ -54,7 +54,8 @@ - + Analyzer false @@ -63,7 +64,8 @@ - + diff --git a/src/Analyzers/MSTest.Analyzers.Package/MSTest.Analyzers.Package.csproj b/src/Analyzers/MSTest.Analyzers.Package/MSTest.Analyzers.Package.csproj index dbeb1dfb27..c4d90bd485 100644 --- a/src/Analyzers/MSTest.Analyzers.Package/MSTest.Analyzers.Package.csproj +++ b/src/Analyzers/MSTest.Analyzers.Package/MSTest.Analyzers.Package.csproj @@ -22,8 +22,8 @@ - - + + diff --git a/src/Package/MSTest/MSTest.csproj b/src/Package/MSTest/MSTest.csproj index ecbba42c9e..9cbf21eeab 100644 --- a/src/Package/MSTest/MSTest.csproj +++ b/src/Package/MSTest/MSTest.csproj @@ -1,4 +1,4 @@ - + @@ -44,10 +44,15 @@ - - - - + + + + diff --git a/src/Platform/Microsoft.Testing.Extensions.CrashDump/Microsoft.Testing.Extensions.CrashDump.csproj b/src/Platform/Microsoft.Testing.Extensions.CrashDump/Microsoft.Testing.Extensions.CrashDump.csproj index 6d7d59466d..8689742ba7 100644 --- a/src/Platform/Microsoft.Testing.Extensions.CrashDump/Microsoft.Testing.Extensions.CrashDump.csproj +++ b/src/Platform/Microsoft.Testing.Extensions.CrashDump/Microsoft.Testing.Extensions.CrashDump.csproj @@ -37,7 +37,6 @@ This package extends Microsoft Testing Platform to provide a crash dump function - diff --git a/src/Platform/Microsoft.Testing.Extensions.VSTestBridge/Microsoft.Testing.Extensions.VSTestBridge.csproj b/src/Platform/Microsoft.Testing.Extensions.VSTestBridge/Microsoft.Testing.Extensions.VSTestBridge.csproj index a3d08254e9..7446a537d6 100644 --- a/src/Platform/Microsoft.Testing.Extensions.VSTestBridge/Microsoft.Testing.Extensions.VSTestBridge.csproj +++ b/src/Platform/Microsoft.Testing.Extensions.VSTestBridge/Microsoft.Testing.Extensions.VSTestBridge.csproj @@ -17,7 +17,7 @@ - + diff --git a/src/Platform/Microsoft.Testing.Platform.MSBuild/Microsoft.Testing.Platform.MSBuild.csproj b/src/Platform/Microsoft.Testing.Platform.MSBuild/Microsoft.Testing.Platform.MSBuild.csproj index d5aa1e10a8..cd92b36602 100644 --- a/src/Platform/Microsoft.Testing.Platform.MSBuild/Microsoft.Testing.Platform.MSBuild.csproj +++ b/src/Platform/Microsoft.Testing.Platform.MSBuild/Microsoft.Testing.Platform.MSBuild.csproj @@ -12,13 +12,14 @@ - + - + diff --git a/test/Directory.Build.props b/test/Directory.Build.props index e3a10afd99..6d0625e0f3 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -3,8 +3,7 @@ - - TestingPlatformRunner + true enable diff --git a/test/Directory.Build.targets b/test/Directory.Build.targets index 5697bbf9cd..f805454898 100644 --- a/test/Directory.Build.targets +++ b/test/Directory.Build.targets @@ -26,6 +26,7 @@ + diff --git a/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/Program.cs b/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/Program.cs index 116b5bef8d..77c41fe4fe 100644 --- a/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/Program.cs +++ b/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/Program.cs @@ -18,8 +18,10 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddHangDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); builder.AddCrashDumpProvider(ignoreIfNotSupported: true); +builder.AddHangDumpProvider(); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); // Custom suite tools diff --git a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Program.cs b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Program.cs index 5463488c7f..77c41fe4fe 100644 --- a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Program.cs +++ b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Program.cs @@ -18,10 +18,11 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddHangDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); builder.AddCrashDumpProvider(ignoreIfNotSupported: true); -builder.AddTrxReportProvider(); +builder.AddHangDumpProvider(); builder.AddRetryProvider(); +builder.AddTrxReportProvider(); // Custom suite tools CompositeExtensionFactory slowestTestCompositeServiceFactory diff --git a/test/IntegrationTests/TestAssets/Directory.Build.props b/test/IntegrationTests/TestAssets/Directory.Build.props new file mode 100644 index 0000000000..c23e0a6f57 --- /dev/null +++ b/test/IntegrationTests/TestAssets/Directory.Build.props @@ -0,0 +1,9 @@ + + + + + + false + + + diff --git a/test/IntegrationTests/TestAssets/Directory.Build.targets b/test/IntegrationTests/TestAssets/Directory.Build.targets index 9046e8b883..80a10f76ba 100644 --- a/test/IntegrationTests/TestAssets/Directory.Build.targets +++ b/test/IntegrationTests/TestAssets/Directory.Build.targets @@ -10,4 +10,5 @@ + diff --git a/test/UnitTests/MSTest.Analyzers.UnitTests/MSTest.Analyzers.UnitTests.csproj b/test/UnitTests/MSTest.Analyzers.UnitTests/MSTest.Analyzers.UnitTests.csproj index 860d2e3ce2..e9d11a378e 100644 --- a/test/UnitTests/MSTest.Analyzers.UnitTests/MSTest.Analyzers.UnitTests.csproj +++ b/test/UnitTests/MSTest.Analyzers.UnitTests/MSTest.Analyzers.UnitTests.csproj @@ -22,9 +22,6 @@ - - - diff --git a/test/UnitTests/MSTest.Analyzers.UnitTests/Program.cs b/test/UnitTests/MSTest.Analyzers.UnitTests/Program.cs index 6ad08378a2..ceea2da137 100644 --- a/test/UnitTests/MSTest.Analyzers.UnitTests/Program.cs +++ b/test/UnitTests/MSTest.Analyzers.UnitTests/Program.cs @@ -13,8 +13,10 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddCrashDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); +builder.AddCrashDumpProvider(ignoreIfNotSupported: true); builder.AddHangDumpProvider(); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); // Custom suite tools diff --git a/test/UnitTests/MSTest.Engine.UnitTests/Program.cs b/test/UnitTests/MSTest.Engine.UnitTests/Program.cs index 79206b730e..107ad0a5bf 100644 --- a/test/UnitTests/MSTest.Engine.UnitTests/Program.cs +++ b/test/UnitTests/MSTest.Engine.UnitTests/Program.cs @@ -14,10 +14,11 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddHangDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); builder.AddCrashDumpProvider(ignoreIfNotSupported: true); +builder.AddHangDumpProvider(); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); -builder.AddAppInsightsTelemetryProvider(); // Custom suite tools CompositeExtensionFactory slowestTestCompositeServiceFactory diff --git a/test/UnitTests/MSTest.SourceGeneration.UnitTests/Program.cs b/test/UnitTests/MSTest.SourceGeneration.UnitTests/Program.cs index 79206b730e..107ad0a5bf 100644 --- a/test/UnitTests/MSTest.SourceGeneration.UnitTests/Program.cs +++ b/test/UnitTests/MSTest.SourceGeneration.UnitTests/Program.cs @@ -14,10 +14,11 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddHangDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); builder.AddCrashDumpProvider(ignoreIfNotSupported: true); +builder.AddHangDumpProvider(); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); -builder.AddAppInsightsTelemetryProvider(); // Custom suite tools CompositeExtensionFactory slowestTestCompositeServiceFactory diff --git a/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/Program.cs b/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/Program.cs index c731857d74..be6fe6e64f 100644 --- a/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/Program.cs +++ b/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/Program.cs @@ -14,10 +14,11 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddHangDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); builder.AddCrashDumpProvider(ignoreIfNotSupported: true); +builder.AddHangDumpProvider(); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); -builder.AddAppInsightsTelemetryProvider(); // Custom suite tools CompositeExtensionFactory slowestTestCompositeServiceFactory diff --git a/test/UnitTests/Microsoft.Testing.Extensions.VSTestBridge.UnitTests/Program.cs b/test/UnitTests/Microsoft.Testing.Extensions.VSTestBridge.UnitTests/Program.cs index 5af7b8a583..c28bb0b1c5 100644 --- a/test/UnitTests/Microsoft.Testing.Extensions.VSTestBridge.UnitTests/Program.cs +++ b/test/UnitTests/Microsoft.Testing.Extensions.VSTestBridge.UnitTests/Program.cs @@ -20,14 +20,15 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif +Console.WriteLine("NATIVE_AOT disabled"); builder.AddAppInsightsTelemetryProvider(); +builder.AddCrashDumpProvider(ignoreIfNotSupported: true); builder.AddHangDumpProvider(); -Console.WriteLine("NATIVE_AOT disabled"); #else Console.WriteLine("NATIVE_AOT enabled"); #endif -builder.AddCrashDumpProvider(ignoreIfNotSupported: true); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); // Custom suite tools diff --git a/test/UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests/Program.cs b/test/UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests/Program.cs index c05ca317bd..7027091a13 100644 --- a/test/UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests/Program.cs +++ b/test/UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests/Program.cs @@ -12,8 +12,10 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddHangDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); builder.AddCrashDumpProvider(ignoreIfNotSupported: true); +builder.AddHangDumpProvider(); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); // Custom suite tools diff --git a/test/UnitTests/Microsoft.Testing.Platform.UnitTests/Program.cs b/test/UnitTests/Microsoft.Testing.Platform.UnitTests/Program.cs index f8a7bf63f0..0d2e19eb45 100644 --- a/test/UnitTests/Microsoft.Testing.Platform.UnitTests/Program.cs +++ b/test/UnitTests/Microsoft.Testing.Platform.UnitTests/Program.cs @@ -19,8 +19,10 @@ #if ENABLE_CODECOVERAGE builder.AddCodeCoverageProvider(); #endif -builder.AddCrashDumpProvider(); +builder.AddAppInsightsTelemetryProvider(); +builder.AddCrashDumpProvider(ignoreIfNotSupported: true); builder.AddHangDumpProvider(); +builder.AddRetryProvider(); builder.AddTrxReportProvider(); // Custom suite tools