This commit is contained in:
Charles Gagnon 2020-04-06 08:24:59 -07:00 коммит произвёл GitHub
Родитель a0eac49ae6
Коммит 39fdfa5cba
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -17,13 +17,14 @@ For both Smoke test and Integration test, ADS will be launched using new temp fo
The integration test suite has been added to ADS windows pipeline to run the test and report the results, you can find the test results under the test tab.
2. Local environment:
1. open a terminal window/command line window. (When testing on Mac we found some issue with VSCode scenario, you might have to close VSCode before running the command)
2. navigate to this folder and then run 'node setEnvironmentVariables.js', there are different options, by default VSCode will be opened.
1. Close all currently active VS Code windows
1. open a terminal window/command line window
1. navigate to this folder and then run 'node setEnvironmentVariables.js', there are different options, by default VSCode will be opened.
1. Terminal(Mac)/CMD(Windows): node setEnvironmentVariables.js Terminal
2. Git-Bash on Windows: node setEnvironmentVariables.js BashWin
3. Follow the instructions in the window: you will be prompted to login to azure portal.
4. A new window will be opened based on your selection and the new window will have the required environment variables set.
5. Run the Test:
1. Follow the instructions in the window: you will be prompted to login to azure portal.
1. A new window will be opened based on your selection and the new window will have the required environment variables set.
1. Run the Test:
1. For Integration Test: in the new window navigate to the scripts folder and run sql-test-integration.bat or sql-test-integration.sh based on your environment.
2. Smoke Test can be launched in 2 ways:
1. In the new window navigate to the test/smoke folder and run: node smoke/index.js