Automated QA
The Automated QA (com.unity.automated-testing
) package enables users to create Unity Tests from recordings of touch and drag interactions with the UI of a Unity Project and run Unity Tests on iOS and Android devices in our cloud device farm (hosted and managed by Unity) - tests can be executed from the Unity editor, command line, or your continuous integration (CI) pipeline.
Development On Hold
December 6, 2021: Automated QA Development has been put on hold until further notice. Please refer to this Forum post, and continue to monitor our Unity DevOps Roadmap for more details. Thank you for your interest and support.
Limitations:
- Unity 2019.4 or above required
Installation
- With your project open in the Unity Editor, open the Package Manager (Window > Package Manager).
- Press the plus button (
+
) in the top left of Package Manager and then select "Add package from git URL...". - Enter
com.unity.automated-testing
in the text box and then press "Add".
Main Features
Recorded Playback
Record touch or drag input on Unity UI Elements to automate interaction with the UI of a Unity Project.
Recorded Testing
Use recordings (recorded playbacks) to drive Unity Test Framework Tests - in the editor, on a local device, or on iOS and Android devices in Unity's cloud device farm.
Cloud Device Testing from the Command Line (or CI pipeline)
Run Unity Test Framework Tests on Unity's cloud device farm from the command line or your continuous integration (CI) pipeline.
Advanced/Experimental Features
Automators
Create automated playthroughs from recording segments and C# scripts (e.g. cheat codes or bots).
Reporting
View an HTML report summarizing the results of each recorded playback or recorded test.
Settings
Customizable variables/settings can be changed in the Settings editor window (Automated QA Hub > Settings)
. These will be loaded and used by future test runs.
Custom variables can be created and stored through this window and referenced in Automators using AutomatedQASettings.Get[DataType]FromCustomSettings(string key)
.