mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
added new command to generate connection settings for integrationt tests
This commit is contained in:
@@ -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>
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user