mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 8a997f7321ae6612fc0e6eb3eac4f358a6233bfb
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
# VS Code Integration test
|
||||
# Integration test
|
||||
|
||||
### Run
|
||||
## Compile
|
||||
|
||||
```bash
|
||||
Make sure to run the following command to compile and install dependencies:
|
||||
|
||||
# Dev (Electron)
|
||||
scripts/test-integration.sh
|
||||
yarn --cwd test/integration/browser
|
||||
|
||||
# Dev (Web)
|
||||
node test/integration/browser/out/index.js
|
||||
## Run (inside Electron)
|
||||
|
||||
```
|
||||
scripts/test-integration.[sh|bat]
|
||||
|
||||
All integration tests run in an Electron instance. You can specify to run the tests against a real build by setting the environment variables `INTEGRATION_TEST_ELECTRON_PATH` and `VSCODE_REMOTE_SERVER_PATH` (if you want to include remote tests).
|
||||
|
||||
## Run (inside browser)
|
||||
|
||||
resources/server/test/test-web-integration.[sh|bat] --browser [chromium|webkit]
|
||||
|
||||
All integration tests run in a browser instance as specified by the command line arguments.
|
||||
|
||||
Reference in New Issue
Block a user