Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

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

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

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.

game_conductor
game_conductor
May 18, 2021 10.7k views

This tutorial is hosted externally

https://gameconductor.net/blog/unity-ui-test-automation-how-to-write-tests-for-…

Visit Tutorial

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.

Related Tutorials

Discussion

Discussion

Loading comments...