diff --git a/test/Microsoft.SqlTools.ServiceLayer.TestEnvConfig/SQLConnectionInstancesTemplate.xml b/test/Microsoft.SqlTools.ServiceLayer.TestEnvConfig/SQLConnectionInstancesTemplate.xml new file mode 100644 index 00000000..12d5c39e --- /dev/null +++ b/test/Microsoft.SqlTools.ServiceLayer.TestEnvConfig/SQLConnectionInstancesTemplate.xml @@ -0,0 +1,38 @@ + + + + [server name] + [user name for SQL authentication] + [password for SQL authentication] + + + [server name] + [user name for SQL authentication] + [password for SQL authentication] + + + [server name] + [user name for SQL authentication] + [password for SQL authentication] + + + [server name] + [user name for SQL authentication] + [password for SQL authentication] + + + [server name] + [user name for SQL authentication] + [password for SQL authentication] + + + [server name] + [user name for SQL authentication] + [password for SQL authentication] + + + [server name] + [user name for SQL authentication] + [password for SQL authentication] + + diff --git a/test/Microsoft.SqlTools.ServiceLayer.TestEnvConfig/generateSQLConnectionSettings.bat b/test/Microsoft.SqlTools.ServiceLayer.TestEnvConfig/generateSQLConnectionSettings.bat new file mode 100644 index 00000000..3f33e4f8 --- /dev/null +++ b/test/Microsoft.SqlTools.ServiceLayer.TestEnvConfig/generateSQLConnectionSettings.bat @@ -0,0 +1,14 @@ +SET WORKINGDIR=%~dp0 + +dotnet restore %WORKINGDIR% +dotnet restore %WORKINGDIR%..\..\src\Microsoft.SqlTools.ServiceLayer\project.json +dotnet build %WORKINGDIR%..\..\src\Microsoft.SqlTools.ServiceLayer\project.json +cd .. +dotnet restore +dotnet build Microsoft.SqlTools.ServiceLayer.TestDriver\project.json +dotnet build Microsoft.SqlTools.ServiceLayer.Test.Common\project.json +dotnet build Microsoft.SqlTools.ServiceLayer.TestEnvConfig\project.json + +cd Microsoft.SqlTools.ServiceLayer.TestEnvConfig + +dotnet run %1