AltUnityTester v.1.4.0 – now with keyboard input

We are proud to announce that AltUnityTester Version 1.4.0 is out. This update does not include as many changes as 1.3.0 but it is the first update in which we try to expand AltUnityTester to a different type of devices other than Android and iOS.

What’s new 

The biggest thing that happened in this update is that now AltUnityTester is able to simulate keyboard buttons, mouse and joysticks. This means that now we can use it to test games for Windows, Linux and Mac (and game consoles).

In the editor, we added the option to build the game for Windows, Linux and Mac. Also in the editor we added the option to only show the name of the scene and tests and not the full path.

This update also has some bug fixes:

  • “Play in editor” now adds the altUnityRunner prefab on the opened scene.
  • Find element now searches in all the scenes that are opened.
  • Fixed adb commands

We also released two examples projects, both using TrashDash Endless Runner. One is written in Python and is used to test the game on Android. The other one is written in C# and tests the game on Windows and MacOS using keyboard buttons simulations. Also the C# project doesn’t use NUnit testing framework which is normally used in Unity project but uses XUnit just to show that AltUnityTester can be used with other frameworks as well.

You can find the projects here:

https://gitlab.com/altom/altunity-tester-examples/alttrashcat-tests-csharp

https://gitlab.com/altom/altunity-tester-examples/alttrashcat-tests-python

Here is a screen recording of the C# example running on MacOS and using the new keyboard input implementation.



What’s next:

For 1.5.0 we decided to stop implementing new features and focus on making the existing features better and fix remaining bugs. That means we will refactor the code, improve the error messages that we throw, improve the editor GUI and many other things. 

We also want to have more examples projects, one of which will be a demonstration on how to use AltUnityTester on multiple devices which was requested by many so stay tuned for that.

Subscribe to our newsletter

And get our best articles in your inbox

 Back to top

Leave a Reply

Your email address will not be published. Required fields are marked *