Skip to content

Testing the extension

Avery Crespi edited this page Nov 5, 2020 · 4 revisions

This page explains how to test the VTT Bridge extension on your local machine.

Prerequisites: Building the extension

Requirements: Python 3.6 (or newer), geckodriver, chromedriver

# Build the extension package
yarn build

# Run unit tests
yarn parcel:test

# Run automation tests with Firefox
# The `geckodriver` binary must be in your $PATH
yarn firefox:test

# Run automation tests with Chromium
# The `chromedriver` binary must be in your $PATH
yarn chromium:test

# Run all unit and automation tests
yarn test

See tests/README.md for more information about automation tests.

Clone this wiki locally