Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Firebase Test Lab
plat_iosplat_android
Testare la tua app su dispositivi ospitati in un data center Google.
Firebase Test Lab è un'infrastruttura cloud di test delle app che ti consente
testare la tua app su una serie di dispositivi e configurazioni, per poter
di come sarà il rendimento nelle mani degli utenti.
Esegui test su un'ampia gamma di dispositivi Android e iOS ospitati da Test Lab
inclusi i dispositivi virtuali di test Android che vengono eseguiti su host ARM più veloci.
Eseguire su dispositivi reali
Test Lab esercita la tua app su dispositivi installati e in esecuzione
in un data center Google, per consentirti di individuare i problemi che si verificano
su dispositivi e configurazioni specifiche.
Integrazione del flusso di lavoro
Test Lab è integrato nella console Firebase, Android Studio,
e gcloud CLI. Puoi utilizzarlo anche con i sistemi di integrazione continua (CI).
Come funziona?
Test Lab utilizza dispositivi di produzione reali in esecuzione in un data center Google per
testare l'app. I dispositivi vengono aggiornati con API aggiornate e sono
impostazioni internazionali, che ti consentono di eseguire test stradali della tua app sull'hardware e
configurazioni che troverà nel mondo reale.
Se necessario, modifica il test in modo che venga eseguito il giorno Test Lab. Compila e
impacchetta l'app, quindi caricala su Firebase.
Scegliere i dispositivi di test e una matrice di test
Utilizzando uno dei nostri strumenti integrati, definisci la matrice di test selezionando un
insieme di dispositivi, versioni del sistema operativo, impostazioni internazionali e orientamenti dello schermo.
Eseguire il test ed esaminare i risultati del test
Esegui il test utilizzando gli strumenti a nostra disposizione. In base alle dimensioni del test
, possono essere necessari diversi minuti
Test Lab per eseguire i test. Al termine dei test,
possono vedere i risultati nella console Firebase.
Passaggi successivi
Consulta una panoramica su come iniziare: iOS e Android.
Testa la tua app con la console Firebase: iOS,
Android
[null,null,["Ultimo aggiornamento 2025-08-17 UTC."],[],[],null,["Firebase Test Lab \nplat_ios plat_android \nTest your app on devices hosted in a Google data center. \n\nFirebase Test Lab is a cloud-based app testing infrastructure that lets you\ntest your app on a range of devices and configurations, so you can get a better\nidea of how it'll perform in the hands of live users.\n\n[Run a test](https://console.firebase.google.com/project/_/testlab/histories/)\n\nFor instructions about running tests with Test Lab, visit our\nGetting Started guides:\n\n[iOS+](/docs/test-lab/ios/get-started)\n[Android](/docs/test-lab/android/get-started)\n\nKey capabilities\n\n|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Test both Android and iOS apps | Run tests on a wide range of Android and iOS devices hosted by Test Lab, including virtual Android test devices that run on faster Arm hosts. |\n| 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. |\n| 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. |\n\nHow does it work?\n\nTest Lab uses real, production devices running in a Google data center to\ntest your app. The devices are flashed with updated APIs and have customizable\nlocale settings, allowing you to road-test your app on the hardware and\nconfigurations it'll encounter in real-world use.\n| **Note:** Test Lab is not intended for, and should not be used for, load-testing any back-end servers used by your app.\n\nOverview of implementation path\n\n|---|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Get your app ready for testing | - First, choose a test to run: - Instrumentation test for [Android](/docs/test-lab/android/instrumentation-test) - Robo test for [Android](/docs/test-lab/android/robo-ux-test) (does not require a pre-written test) - Game Loop test for [iOS](/docs/test-lab/ios/run-game-loop-test) and [Android](/docs/test-lab/android/game-loop) - XCTest for [iOS](/docs/test-lab/ios/run-xctest) - If necessary, modify your test to run on Test Lab. Build and package your app, then upload it to Firebase. |\n| | 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. |\n| | 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. |\n\nNext steps\n\n- Visit an overview of how to get started: [iOS](/docs/test-lab/ios/get-started), [Android](/docs/test-lab/android/get-started)\n\n- Test your app with the Firebase console: [iOS](/docs/test-lab/ios/firebase-console),\n [Android](/docs/test-lab/android/firebase-console)\n\n- Test your app with the gcloud CLI: [iOS](/docs/test-lab/ios/command-line),\n [Android guide](/docs/test-lab/android/command-line)\n\n- Test your app with Android Studio 2.0+: [Android codelab](//codelabs.developers.google.com/codelabs/firebase-android/)\n\n- Visit [frequently-asked questions](/docs/test-lab/troubleshooting)\n\n- Learn how Google accelerates mobile development and helps developers build\n better performing, more stable apps: [Mobile Applications On-Device Testing at Google scale](https://research.google/pubs/pub51331/)"]]