Skip to content

redhat-developer/vscode-extension-tester

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.


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.x
  • 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

Contribution Welcomed

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