Skip to content

Framework for simulating user interactions with VS Code and its extensions via Selenium Webdriver

License

Notifications You must be signed in to change notification settings

xwang98/vscode-extension-tester

 
 

Repository files navigation


Visual Studio Code Extension Tester

VSCode ExTester ExTester Locators ExTester Page Objects License
Main CI Insider CI


UI Testing Framework for Visual Studio Code.

FeaturesRequirementsUsageDocumentationKnown Issues

Extension Tester is a package that is designed to help you run UI tests for your Visual Studio Code extensions using selenium-webdriver.


Features

  • 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

Requirements

  • Visual Studio Code 1.37+
  • NodeJS <=18.15.0
  • Supported Operating Systems
    • Linux
    • Windows
    • macOS (platform specific limitations, more in Known Issues)

Usage

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.

Documentation

Our full documentation is located in GitHub Wiki. Included are details about Page Object API and how to setup Mocha tests information.

Issues

Something is not working properly? In that case, feel free to open issues, add 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

About

Framework for simulating user interactions with VS Code and its extensions via Selenium Webdriver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.0%
  • JavaScript 4.1%
  • CSS 0.9%