README.md 655 字节
Newer Older
1
# Integration test
2

3
## Compile
4

5
Make sure to run the following command to compile and install dependencies:
6

7
	yarn --cwd test/integration/browser
8

9
## Run (inside Electron)
10

11 12 13 14 15 16 17 18 19
	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.