You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jan Richter edited this page Apr 23, 2019
·
24 revisions
VSCode Extension Tester
VSCode Extension Tester is a package designed to help you run UI tests for your VS Code extensions using selenium-webdriver.
Simply install it into your extension devDependencies to get started:
npm install --save-dev vscode-extension-tester
As such there are two major parts to the project:
Test Setup
The first part automates all the steps necessary to launch UI tests of your VSCode extension:
Download a test instance of VS Code
Download the appropriate version of ChromeDriver
Package and install your extension into the VS Code instance
Launch the VS Code instance using webdriver
Run your tests
Find more about the test setup Link TBD.
Page Object APIs
Once your tests are set up and running, you may use the convenient page object API to handle parts of VSCode without sifting through its DOM. Though, if using pure webdriver is preferred, all the webdriver APIs are exported as well.
Find documentation about the Page Object APIs Link TBD