I want to run automated tests for a game that I am developing with Unity. It runs on iOS and Android devices. As a first step we would like to
- Launch the game on device type X
- If the game loaded on the device within some timeout without crashing:
- Pass the test
- Otherwise
- Fail the test
I want to run those tests on all device types and generate reports based on the test results. E.g. the devices could open a URL and send the results in the request body.
Is there a way to automate such a test for a Unity application running on actual devices?
I would prefer using an existing tool for that. If this does not exist yet, I assume I have to create some wrapper around my app and catch crash signals in order to report test failures.