add flag / env var to enable downloading and unzipping to `.vscode-test` without running tests...
busticated opened this issue · comments
currently the bin/test
script will download and unzip the vscode executable - creating the .vscode-test
directory within your project - then attempt to run tests (code).
it'd be helpful if there was a way to disable running tests and instead only do the steps required to get a local copy of vscode into the .vscode-test
directory.
related conversation over here 👉 https://vscode-dev-community.slack.com/archives/C74CB59NE/p1541799580061400
somewhat related to #111 since the steps you need in order to run tests when your extension has a hard dependency on a 3rd party extension are:
- install
.vscode-test
bits (local copy ofcode
) - install 3rd party extensions
- run tests
currently, you can't execute step 2 without first executing step 1 but there's no way to execute step 1 without also executing step 3 which will fail due to you not having executed step 2. 🤗 wheee!
i'd be happy to make a PR if that's helpful 👍
This is now available through https://github.com/microsoft/vscode-test.
See https://github.com/octref/vscode-test-sample for sample usage.