AUTOMATION GAME TUTORIAL DRIVER
More information about the editor can be found here.ĪltUnity Tester Unity Package also includes the AltUnity Driver along with its bindings in C#, Python and Java, meaning that you can also write your tests in Python or Java, if C# is not your preferred language. Click on AltUnity Tools in order to open the AltUnity Tester Editor. If the import was successful, you’ll see AltUnity Tools in the Unity Editor toolbar. This will enable a connection with your game, to get information about the Unity objects.ĭownload the Unity Package from this article and drag it in the project’s Assets in Unity Editor. In order to run automated tests using AltUnity Pro Alpha, you first have to instrument your game with the AltUnity Tester asset.
Instrument your Unity game with AltUnity Tester To do so, open the “Complete-Game” scene from Assets, click on the “Play in Editor” button and interact with both of the tanks to see if they work properly. Once you have the game on your machine, open it in Unity Editor and make sure it works. You can import it from the Unity Asset Store or you can clone our example project from gitlab. The game we chose to use in our example is “TANKS!”, a tutorial project released by Unity. To help you get started with test automation on the WebGL platform, we’ve created an example C# project. AltUnity Pro Alpha is a desktop application which helps you to visualize the game object hierarchy and get components, properties, methods and fields easily without access to the source code.AltUnity Tester is an asset which allows you to identify and interact with Unity objects and run end-to-end automated tests on different devices.These tools consist of AltUnity Tester and AltUnity Pro Alpha. So far our tools were compatible with PC, Android and iOS games, but now we also support WebGL. What if you can actually do test automation for your game in the browser? This is where AltUnity’s latest solution comes in handy.ĪltUnity Tools are designed to make the testing of Unity games easier.
AUTOMATION GAME TUTORIAL MANUAL
If you’re resuming testing the game in Unity Editor or only do manual testing, you might spend a lot of time doing the same tests over and over again or neglect some browser performance issues. There’s the glcheck framework which is WebGL focused, but it can help you more, if you’re looking for a solution for writing and running unit tests for your game. When it comes to testing a WebGL build of your game there really aren’t many solutions on the market at the moment.
AUTOMATION GAME TUTORIAL HOW TO
In this article you’ll discover how to write and run automated tests for your WebGL game using AltUnity Tools in order to make the process easier.