Check out what’s new from Firebase@ Google I/O 2021, and join our alpha program for early access to the new Remote Config personalization feature. Learn more

Firebase Test Lab

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

Firebase Test Lab is a cloud-based app testing infrastructure that lets you test your app on a range of devices and configurations, so you can get a better idea of how it'll perform in the hands of live users.

Run a test

For instructions about running tests with Test Lab, visit our Getting Started guides:

Android iOS

Key capabilities

Test both Android and iOS apps Run tests on a wide range of Android and iOS devices hosted by Test Lab.
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 CLI. You can also 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.

Physical devices in a data center

Devices in a data center

Overview of implementation path

Get your app ready for testing
  • First, choose a test to run:
    • Instrumentation test for Android
    • Robo test for Android (does not require a pre-written test)
    • Game Loop test for iOS and Android
    • XCTest for iOS
  • If necessary, modify your test to run on Test Lab. Build and package your app, then upload it to Firebase.
Choose test devices and a test matrix Using one of our integrated tools, define your test matrix by selecting a set of devices, OS versions, locales, and screen orientations.
Run your test and review test results Run your test using our available tools. 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.

Next steps