mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-29 09:35:38 -05:00
New test common project for database connections using the settings.json (#210)
* moved test driver tests and test common classes to separate projects
This commit is contained in:
15
test/CreateConnectionSettings.cmd
Normal file
15
test/CreateConnectionSettings.cmd
Normal file
@@ -0,0 +1,15 @@
|
||||
echo "mssql.connections": [ { > %USERPROFILE%\settings.json
|
||||
echo "server": "<Server Name>", >> %USERPROFILE%\settings.json
|
||||
echo "authenticationType": "SqlLogin", >> %USERPROFILE%\settings.json
|
||||
echo "user": "<User ID>", >> %USERPROFILE%\settings.json
|
||||
echo "password": "<Password>", >> %USERPROFILE%\settings.json
|
||||
echo "serverType": "OnPrem" },{ >> %USERPROFILE%\settings.json
|
||||
echo "server": "<Azure Server Name>", >> %USERPROFILE%\settings.json
|
||||
echo "authenticationType": "SqlLogin", >> %USERPROFILE%\settings.json
|
||||
echo "user": "<User ID>", >> %USERPROFILE%\settings.json
|
||||
echo "password": "<Password>", >> %USERPROFILE%\settings.json
|
||||
echo "serverType": "Azure" } >> %USERPROFILE%\settings.json
|
||||
echo ] >> %USERPROFILE%\settings.json
|
||||
|
||||
SET SettingsFileName=%USERPROFILE%\settings.json
|
||||
REM The connection setting template is created here: "%USERPROFILE%\settings.json". Make sure to add the connection info before running the tests
|
||||
Reference in New Issue
Block a user