fd4f218c1e
When testing, we need to query the state of the Qt application, so change the scope of qtloader from inside the init function to global scope. Additionally, adjust the test script accordingly to query and use this state to make good decisions on how to terminate. Change-Id: I6264ba20843716eb87340b160680617b718f6bd9 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> |
||
---|---|---|
.. | ||
Pipfile | ||
qt-wasmtestrunner.py | ||
README.md |
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.