Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 901 Bytes

README-dev.md

File metadata and controls

44 lines (33 loc) · 901 Bytes

Instructions for developers

Build locally

npm install
npm run compile

Test extension in new Code instance

  1. Open the project folder in Code.
  2. Choose Debug/Start Debugging or press F5.

Run tests

Unit tests

VsCode

  1. Ctrl + P
  2. type Debug Unit Tests
  3. Press Enter

Command Prompt

Or start them after compiling the project via:

npm run unittest

Integration tests

VsCode

  1. Ctrl + P
  2. type Debug Integration Tests
  3. Press Enter

Command Prompt

Set the following environment variables on your system:

  • CODE_TESTS_PATH: Absolute path to out/test/integrationtest
  • CODE_TESTS_WORKSPACE: Absolute path to test/integrationtest/testLogs

Start the integration tests after compiling the project via running:

npm run integrationtest