Firebase Test Lab
Test your app on devices hosted in a Google data center.
|Test Android and iOS apps||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.
|Get your app ready for testing||
|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.|
- Test your app in the Firebase console: iOS guide or Android guide
- Test your app from the gcloud command line environment: iOS guide or Android guide
- Test your app with an automated ui crawler: Android guide
- Test your app with Android Studio 2.0+: Android codelab
- Use the Test Lab screenshot library in your instrumentation tests: Android guide