Features • Requirements • Usage • Documentation • Known Issues
Extension Tester is a package that is designed to help you run UI tests for your Visual Studio Code extensions using selenium-webdriver.
- Download a test instance of Visual Studio Code
- Download the appropriate version of ChromeDriver
- Package and Install your extension into downloaded VS Code instance
- Launch the VS Code instance using Selenium Webdriver
- Run your tests
- Visual Studio Code 1.37+
- NodeJS 16
- Supported Operating Systems
- Linux
- Windows
- macOS (platform specific limitations, more in Known Issues)
Simply install our package into your extension devDependencies to get started:
npm install --save-dev vscode-extension-tester@latest
Make sure to check out the documentation for detailed instructions.
Our full documentation is located in GitHub Wiki. Included are details about Page Object API and how to setup Mocha tests information.
Something is not working properly? In that case, feel free to open issues, add feature requests, report bugs, etc.
If you'd like to help us get better, we appriciate it! Check out our Contribution Guide on how to do that.
We have prepared few answers for most common problems community reported. See Known Issues