Games are incredibly challenging to test. Game developers build games from components, yet the player interacts with a visual and dynamic world that is much more interesting and complex than a sum of components.
Due to the complexity of modern games, even the most sophisticated QA teams have very limited options to scale the QA testing process.
We’re building Automated QA to give QA teams the power to test on-demand and at scale with recorded playback - and soon with many more types of game playing agents.
The Automated QA package enables users to record and playback touch or drag interactions with the UI of a Unity Project and optionally use recordings to drive Unity Tests - in the editor, on an iOS or Android device.
Requirements and Limitations
Recorded Playback makes it easy to automate smoke testing
Authoring a smoke test is as easy as pressing the record button and performing the playthrough you would like to automate. When used to drive a test, the playback will only succeed if each object involved in the recorded playback was visible on-screen and clickable (or draggable).
Key Features of Recorded Playback
Sophisticated QA teams validate hundreds to thousands of different paths through a game before each release. We built the Composite Recording feature to enable QA testers to automate the gameplay common to many tests (think navigating through the main menu) without sacrificing the confidence that can only be achieved by testing the game as the player will experience it (e.g. by loading levels from the main menu).
Key Benefits of Composite Agents
Coming Soon: Composite Agents
We are adding support for the creation of game playing agents composed of recordings, C# scripts, and ML-Agents. Sign up for early access.
Run tests on real devices: local or in the cloud
Once you’ve authored an automated test, the Automated QA package makes it easy to test on a real device. Run tests on devices you already own, just by plugging them into your machine and pressing “Run” from the Unity Test Runner.
Coming Soon: Run tests on real devices in the cloud from the Unity Editor or CI
We’ll handle the infrastructure so that cloud on-device testing is even easier than local on-device testing. And we’ll make the resulting pass/fail status, logs, and screenshots available directly from both the Unity Editor and via API. Sign up for early access.
Open the Recorded Playback window (Window > Automated QA > Recorded Playback) and start recording! See the package documentation for more instructions.
Please email us at AutomatedQA@unity3d.com with any questions!
Contributors: Dylan Scandinaro, Jason Greco, Justin Rempel, Lauryn Porte, Matt Sorg, Shuo Diao, Rambod Kermanizadeh, Souranil Sen, Tim Sibiski, Tom Thompson, Willis Kennedy