vscode-extension-tester
v8.19.0
Published
ExTester is a package that is designed to help you run UI tests for your Visual Studio Code extensions using selenium-webdriver.
Readme
Features
- ⬇️ Download a test instance of Visual Studio Code.
- ⬇️ Download the appropriate version of ChromeDriver.
- 📦 Pack and Install your extension into downloaded VS Code instance.
- 🚀 Launch the VS Code instance using Selenium WebDriver.
- 🔥 Run your tests.
Requirements
For more information please visit our 🔗 project repository
Usage
Simply install our package into your extension devDependencies to get started:
npm install --save-dev vscode-extension-testerMake sure to check out the 🔗 Documentation for detailed instructions.
- 📄 How to set up the tests
- 📄 Configuring Mocha
- 📄 An example simple test case
- 📄 Page objects API quick guide
ExTester Runner Extension
‼️ For a streamlined testing workflow, we recommend installing the 🔗 ExTester Runner VS Code extension. It provides an enhanced UI for test orchestration and improves the overall developer experience.
Example
For an example project, check out the Hello World Example repository, where you can find detailed setup and usage instructions.
Documentation
Our full documentation is located in 🔗 GitHub Wiki. Included are details about Page Objects API and how to setup Mocha tests information.
Issues
Something is not working properly? In that case, feel free to 🔗 open feature requests, report bugs, etc.
Get Involved
If you'd like to help us get better, we appreciate it! Check out our 🔗 Contribution Guide on how to do that.
Known Issues
We have prepared few answers for most common problems community reported. See 🔗 Known Issues
