A weekly source of software testing news
ISSUE #58 - May 13, 2018
In the last issue we looked at manual testing of video game software, and here is test automation in the gaming industry, as promised.
In the last issue we looked at QA at Nitro Nation; here is the sister post from their developers who are trying to do test automation, and the challenges they face. The post is over a year old, and I believe Unity made some progress with testing frameworks available for the engine.
Automated testing at Riot Games for League of Legends includes running 5500 tests on each build in CI, for a total of 100k tests a day. The tests are written in Python, based on RPC endpoints (similar to REST API testing for web apps). The post goes into detail on their Jenkins setup and examples of test code, good stuff.
A deep conversation on testing at EA (circa 2014, when they were working on Sports’ FIFA 10 / 11). Covers the difficulty of testing online team play, EA’s early failures at test automation, and steps they took to make tests more reliable. They moved toward MVVM architecture (Model - View - ViewModel) which allows to separate UI testing from gameplay testing, and considered introducing a DSL layer to simplify test development.
This developer laments that he’s not able to unit test his games, since the gameplay logic bugs are hard to catch in unit tests, and visual issues would be expensive to test for. A valuable comment thread discussing the difference between unit and integration tests, and a notion that unit tests only apply to the game engine.
Another perspective from a developer who works on mobile games in C++ and writes unit tests, with specific examples of areas he covered in unit testing.
Interesting take on why game developers don’t use TDD (Test Driven Development) approach, that calls out how game devs derive similar benefits by following other best practices: writing production usage code first, using assertions, and static compilation checks.
Mobile game test automation is a separate beast, with the need to test and benchmark performance on a multitude of devices. This short post presents a possible automation framework based on Appium that utilizes Sikuli, Robot and Vysor:
The setup can be made easier by using test automation platform as a service, such as the one by BitBar.
Researchers use AI to play-test video games, the article is only skin deep, but the referenced paper is the real deal:
If you received this email directly then you’re already signed up, thanks! Else if this newsletter issue was forwarded to you and you’d like to get one weekly, then you can subscribe at http://testersdigest.mehras.net
If you come across content worth sharing, please send me a link at firstname.lastname@example.org