This repository shows a few C# tests that use the page object model and AltTester® Unity SDK to test the Unity Endless Runner sample: https://assetstore.unity.com/packages/essentials/tutorial-projects/endless-runner-sample-game-87901
- in the
ios_tests.sh
script please change the value forAPPIUM_XCODEORGID
with your Team ID (unique 10-character string) in the Apple dev account - export
IOS_UDID=<your-device-udid>
then run the scriptios_tests.sh
- considering that the IProxy does not have a way of setting up
reverse port forwarding
, to be able to connect it is necessary to follow the steps from https://alttester.com/docs/sdk/latest/pages/advanced-usage.html#in-case-of-ios
❗ Starting with version 2.0.0, the AltTester® Desktop must be running on your PC while the tests are running.
- Download and install the AltTester® Desktop for MacOS from here, then open it.
- The tests are meant to be run on an iOS device. Instrument the TrashCat application using the latest version of AltTester® Unity SDK - for additional information you can follow this tutorial. The app needs to be included under the project.
- Run
./ios_tests.sh
in your terminal.
This script will:
- start the app on your device
- run the tests
- stop the app after the tests are done
Info about the required setup and how to run these tests can be found here: https://alttester.com/docs/sdk/latest/pages/alttester-with-appium.html