From 78e8ebcf806adc4cdc3ba0a40da9dafdbb584d84 Mon Sep 17 00:00:00 2001 From: Johnny Pham Date: Wed, 27 Oct 2021 10:29:01 -0700 Subject: [PATCH] Tests | Split up manual tests into sets (#1373) --- BUILDGUIDE.md | 5 + ....Data.SqlClient.ManualTesting.Tests.csproj | 258 +++++++++--------- 2 files changed, 137 insertions(+), 126 deletions(-) diff --git a/BUILDGUIDE.md b/BUILDGUIDE.md index a4e0b16e00..4feb22d25c 100644 --- a/BUILDGUIDE.md +++ b/BUILDGUIDE.md @@ -72,6 +72,11 @@ msbuild -t:BuildTestsNetFx # Build the tests for the .NET Framework (NetFx) driver in 'Debug' Configuration. Default .NET Framework version is 4.6.1. ``` +```bash +msbuild -t:BuildTestsNetCore -p:TestSet=1 +# Build a subset of the manual tests. Valid values: '1', '2', '3', 'AE'. Omit to build all tests. +``` + ## Run Functional Tests - Windows (`netfx x86`): diff --git a/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj b/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj index 23ed738f37..6fc4001309 100644 --- a/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj +++ b/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj @@ -13,22 +13,29 @@ $(ObjFolder)$(Configuration).$(Platform).$(AssemblyName) $(BinFolder)$(Configuration).$(Platform).$(AssemblyName) - + + + PreserveNewest + TCECryptoNativeBaseline.txt + + + PreserveNewest + TCECryptoNativeBaselineRsa.txt + - + - - + @@ -61,96 +68,47 @@ - - Common\System\Collections\DictionaryExtensions.cs - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -190,20 +148,46 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + @@ -214,17 +198,17 @@ - - - - - PreserveNewest - data.xml - - - PreserveNewest - MultipleResultsTest.bsl - + + + + + + + + + + + PreserveNewest SqlParameterTest_DebugMode.bsl @@ -241,42 +225,57 @@ PreserveNewest SqlParameterTest_ReleaseMode_Azure.bsl - + PreserveNewest - TCECryptoNativeBaseline.txt + data.xml - + PreserveNewest - TCECryptoNativeBaselineRsa.txt + MultipleResultsTest.bsl - - - - - - - - + + + + + + - + - - Microsoft.DotNet.XUnitExtensions - - - - - + + + + + + + + + + + + + + + + + + + + + Common\System\Collections\DictionaryExtensions.cs + + + Address @@ -289,6 +288,13 @@ Utf8String + + Microsoft.DotNet.XUnitExtensions + + + + +