Add graphical unit tests

This commit is contained in:
Thomas Farstrike
2025-11-14 14:32:59 +01:00
parent eb2799fe2e
commit ecaaad67ad
8 changed files with 599 additions and 2 deletions
+7
View File
@@ -76,6 +76,13 @@ $mpremote fs cp -r resources :/
popd
# Install test infrastructure (for running ondevice tests)
echo "Installing test infrastructure..."
$mpremote fs mkdir :/tests
$mpremote fs mkdir :/tests/screenshots
testdir=$(readlink -f "$mydir/../tests")
$mpremote fs cp "$testdir/graphical_test_helper.py" :/tests/graphical_test_helper.py
if [ -z "$appname" ]; then
echo "Not resetting so the installed app can be used immediately."
$mpremote reset