vscode-uitests-tooling

UI Tests Utils for VS Code extensions

Usage no npm install needed!

<script type="module">
  import vscodeUitestsTooling from 'https://cdn.skypack.dev/vscode-uitests-tooling';
</script>

README

npm version contributions welcome License

vscode-uitests-tooling

UI Tests Tooling for VS Code extensions is a package built on VS Code Extension Tester. It provides more specific functions, wait conditions, sets of features and others for testing of VS Code extensions.

Usage

  1. First simply install vscode-extension-tester into your extension devDependencies:
> npm install -D vscode-extension-tester

Optional: install also package for handling Native dialogs

> npm install -D vscode-extension-tester-native
  1. Then install vscode-uitests-tooling into your extension devDependencies:
> npm install -D vscode-uitests-tooling

After that just setup ui-test run script and thats all. (see Test setup).

Contribution

If you want to provide any new functionality, please create Issue or PR to this repository.

Local development steps

These are necessary steps for local contribution and testing of vscode-uitests-tooling package.

Inside vscode-uitests-tooling package run
> npm run dev
Inside developed extension run
> npm uninstall -D vscode-uitests-tooling
> npm install -D file:../vscode-uitests-tooling/vscode-uitests-tooling-{x.x.x}.tgz