microsoft / vscode-extension-vscode

The vscode NPM module. Deprecated in favor of @types/vscode and vscode-test.

Home Page:https://www.npmjs.com/package/vscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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:

  1. install .vscode-test bits (local copy of code)
  2. install 3rd party extensions
  3. 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 👍