Firebase Test Labplat_iosplat_android

Test your app on devices hosted in a Google data center.

Firebase Test Lab is a cloud-based app-testing infrastructure. With one
operation, you can test your Android or iOS app across a wide variety of devices
and device configurations, and see the results—including
logs, videos, and screenshots—in the Firebase console.

Key capabilities

If your app has both an Android and iOS version, no worries. Test Lab now
offers iOS devices to test on.

Run on real devices

Test Lab exercises your app on devices installed and running
in a Google data center, so you can find issues that only occur
on specific devices and configurations.

Workflow integration

Test Lab is integrated with the Firebase console, Android Studio,
and the gcloud command line tool. You can even use it with Continuous
Integration (CI) systems.

How does it work?

Test Lab uses real, production devices running in a Google data center to
test your app. The devices are flashed with updated APIs and have customizable
locale settings, allowing you to road-test your app on the hardware and
configurations it'll encounter in real-world use.

Devices in a data center

Test Lab runs Espresso
and UI Automator 2.0
tests on Android apps, and XCTest
tests on iOS apps. Write tests using one of those frameworks, then run them
through the Firebase console or the gcloud command line interface.

If you're testing on Android-only, you can even have Test Lab create the
tests for you, using automated Robo tests.

Implementation path

Get your app ready for testing

iOS: Write XCTests, then build and package your app for upload.

Android: Write an instrumentation test, modify your app to support a
Game Loop test, or avoid test preparation entirely with a Robo test.

Choose a test environment and a test matrix

Using the Firebase console or the gcloud command line interface, define
a test matrix by selecting a set of devices, OS versions, locales, and screen
orientations.

Run your tests, and review test results

Depending on the size of your test matrix, it can take several minutes for
Test Lab to run your tests. After your tests finish, you
can see the results in the Firebase console.