GameTestAutomationExample

Some time ago I found some amazing work on test automation of unity games, but I got stuck on implementing it in our project.

The test example can be found here:
GitHub

I was able to run the tests on flappy bird game and fiddled with some test scenarios.
Then I wanted to use it in my own project and got stuck on the step that involves adding gameObjects to the ObjectLogger.
After adding the objects I try to build and run the app but nothing gets logged so theres no way for the test script to do anything.

I would gladly contribute to the project with more examples and more precise instructions, but I just need to understand how to build my own project with object logging enabled.

@ujappelbe @rasmus-unity @shusso - any tips on that? :slight_smile:

Hi @DonCordiale,

Are you using iOS or Android for your testing? On iOS you might need to do some additional work to enable the logging to syslog, there is more information here: Get Debug.Log output in the working iOS build - Questions & Answers - Unity Discussions

I’m glad to see interest in the project, I hope this helps.