# Firebase Test Lab

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](https://console.firebase.google.com/project/_/testlab/histories/)

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

- [iOS+](/content/docs/test-lab/ios/get-started/index.html)  
- [Android](/content/docs/test-lab/android/get-started/index.html)

## Key capabilities

|     |     |  
| --- | --- |  
| Test both Android and iOS apps | Run tests on a wide range of Android and iOS devices hosted by Test Lab,<br> including virtual Android test devices that run on faster Arm hosts. |  
| Run on real devices | Test Lab exercises your app on devices installed and running<br> in a Google data center, so you can find issues that only occur<br> on specific devices and configurations. |  
| Workflow integration | Test Lab is integrated with the Firebase console, Android Studio,<br> and the gcloud CLI. You can also use it with Continuous<br> 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.

## Overview of implementation path

|     |     |     |  
| --- | --- | --- |  
|  | Get your app ready for testing | - First, choose a test to run:<br>  - Instrumentation test for [Android](/content/docs/test-lab/android/instrumentation-test/index.html)<br>  - Robo test for [Android](/content/docs/test-lab/android/robo-ux-test/index.html)<br>     (does not require a pre-written test)<br>  - Game Loop test for<br>     [iOS](/content/docs/test-lab/ios/run-game-loop-test/index.html) and<br>     [Android](/content/docs/test-lab/android/game-loop/index.html)<br>  - XCTest for [iOS](/content/docs/test-lab/ios/run-xctest/index.html)<br>- If necessary, modify your test to run on Test Lab. Build and<br>   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<br> 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<br> matrix, it can take several minutes for<br> Test Lab to run your tests. After your tests finish, you<br> can see the results in the Firebase console. |

## Next steps

- Visit an overview of how to get started: [iOS](/content/docs/test-lab/ios/get-started/index.html), [Android](/content/docs/test-lab/android/get-started/index.html)  
- Test your app with the Firebase console: [iOS](/content/docs/test-lab/ios/firebase-console/index.html), [Android](/content/docs/test-lab/android/firebase-console/index.html)  
- Test your app with the gcloud CLI: [iOS](/content/docs/test-lab/ios/command-line/index.html), [Android guide](/content/docs/test-lab/android/command-line/index.html)  
- Test your app with Android Studio 2.0+: [Android codelab](https://codelabs.developers.google.com/codelabs/firebase-android/)  
- Visit [frequently-asked questions](/content/docs/test-lab/troubleshooting/index.html)  
- Learn how Google accelerates mobile development and helps developers build
better performing, more stable apps: [Mobile Applications On-Device Testing at Google scale](https://research.google/pubs/pub51331/)

Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates.
