added new command to generate connection settings for integrationt tests

This commit is contained in:
Leila Lali
2017-02-17 09:52:06 -08:00
parent eb4f2f2b91
commit b9400b3a93
2 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<Instances>
<Instance VersionKey="defaultSql2016">
<DataSource>[server name]</DataSource>
<UserId>[user name for SQL authentication]</UserId>
<Password>[password for SQL authentication]</Password>
</Instance>
<Instance VersionKey="defaultSqlAzureV12">
<DataSource>[server name]</DataSource>
<UserId>[user name for SQL authentication]</UserId>
<Password>[password for SQL authentication]</Password>
</Instance>
<Instance VersionKey="defaultSql2005">
<DataSource>[server name]</DataSource>
<UserId>[user name for SQL authentication]</UserId>
<Password>[password for SQL authentication]</Password>
</Instance>
<Instance VersionKey="defaultSql2008">
<DataSource>[server name]</DataSource>
<UserId>[user name for SQL authentication]</UserId>
<Password>[password for SQL authentication]</Password>
</Instance>
<Instance VersionKey="defaultSql2011">
<DataSource>[server name]</DataSource>
<UserId>[user name for SQL authentication]</UserId>
<Password>[password for SQL authentication]</Password>
</Instance>
<Instance VersionKey="defaultSqlAzure">
<DataSource>[server name]</DataSource>
<UserId>[user name for SQL authentication]</UserId>
<Password>[password for SQL authentication]</Password>
</Instance>
<Instance VersionKey="defaultSql2014">
<DataSource>[server name]</DataSource>
<UserId>[user name for SQL authentication]</UserId>
<Password>[password for SQL authentication]</Password>
</Instance>
</Instances>

View File

@@ -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