This guide describes how to run iOS tests using the Firebase console.
Step 1: Create a Firebase project
If you don't have a Firebase project for your app, go to the Firebase console and click Create New Project to create one now. You will need ownership or edit permissions in your project.
Step 2: Upload and run your test
Run an XCTest
Open Test Lab in the Firebase console.
If it's your first test, click Get Started under iOS. If it isn't, click Run a Test, and then select Run an XCTest.
Click Browse, and find the
.zipfile you created.
Check the box for each device, version, orientation, and locale you'd like to test against.
Click Start Tests.
Run a Game Loop test
On the Test Lab page of the Firebase console, click Run Your First Test > Run an iOS Game Loop.
In the Upload App section, click Browse, then select your app's IPA file (if you haven’t already, generate an IPA file for your app).
Optional: If you want to run multiple loops (aka scenarios) at a time or select specific loops to run, enter the loop numbers in the Scenarios field.
For example, when you enter "1-3, 5", Test Lab runs loops 1, 2, 3, and 5. By default (if you don't enter anything in the Scenarios field), Test Lab only runs loop 1.
In the Devices section, select one or more physical devices you want to test your app on, then click Start Tests.
Step 3: Investigate your test results
When the test starts, you're automatically redirected to the test results page. Tests can take a few minutes to run, depending on the number of different configurations you have selected and the test timeout duration set for your tests. After your tests have run, you can review test results. See Analyzing Firebase Test Lab Results to learn more about how to interpret the test results.