Unity UI test automation: how to write tests for your game interface

Published May 18, 2021 by game_conductor
Do you see issues with this article? Let us know.
Advertisement
The Unity Test Framework provides a basic way to write automated tests for your game. While it's fairly easy to test simple game objects with Unity, making sure the user interface works as expected is another story. It's because the UI requires more than unit tests, since it interacts with the rest of the game. Writing integration tests is required instead. This is a slightly harder task, and this post will show you how to do that.
https://gameconductor.net/blog/unity-ui-test-automation-how-to-write-tests-for-your-game-interface.html
Cancel Save
1 Likes 1 Comments

Comments

RichardNoblitt

[spam]

June 06, 2021 09:28 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!

The Unity Test Framework provides a basic way to write automated tests for your game. While it's fairly easy to test simple game objects with Unity, making sure the user interface works as expected is another story. It's because the UI requires more than unit tests, since it interacts with the rest of the game. Writing integration tests is required instead. This is a slightly harder task, and this post will show you how to do that.

Advertisement

Other Tutorials by game_conductor

game_conductor has not posted any other tutorials. Encourage them to write more!
Advertisement