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
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Unity UI test automation: how to write tests for your game interface
Do you see issues with this article? Let us know.
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
Recommended Tutorials
Other Tutorials by game_conductor
game_conductor has not posted any other tutorials. Encourage them to write more!
Advertisement
[spam]