qt5base-lts/util/wasm/wasmtestrunner
David Skoland b01ee1d44c Add WASM testrunner
Add a python script that allows us to run wasm tests in CI, along with
the necessary cmake logic to install the script and execute tests
accordingly.

Change-Id: I93b95c115538c4e27b2b833405acab8162be2a8a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2022-03-31 16:50:25 +02:00
..
Pipfile Add WASM testrunner 2022-03-31 16:50:25 +02:00
qt-wasmtestrunner.py Add WASM testrunner 2022-03-31 16:50:25 +02:00
README.md Add WASM testrunner 2022-03-31 16:50:25 +02:00

qtwasmtestrunner

This is a utility that launches a small webserver and
either a browser or a webdriver (only chrome/chromedriver at the time of writing)
This allows running wasm tests and printing the output to stdout like a normal test.

chromedriver must be installed: https://chromedriver.chromium.org/
to use it with chromedriver (default operation), and it must be in PATH
unless --chromedriver_path is passed with full path to chromedriver

Run the script with --help for more info.