Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Firebase Test Lab
plat_iosplat_android
przetestować aplikację na urządzeniach hostowanych w centrum danych Google,
Firebase Test Lab to działająca w chmurze infrastruktura do testowania aplikacji, która umożliwia
przetestować aplikację na różnych urządzeniach i konfiguracjach, aby uzyskać
jak się sprawdza w rękach użytkowników.
Przeprowadzaj testy na różnych urządzeniach z Androidem i iOS hostowanych przez Test Lab,
w tym wirtualnych urządzeń testowych Androida, które działają na szybszych hostach Arm.
Uruchom na rzeczywistych urządzeniach
Test Lab ćwiczy Twoją aplikację na urządzeniach z zainstalowaną i działającą aplikacją
w centrum danych Google, dzięki czemu można znaleźć problemy, które występują tylko
na konkretnych urządzeniach i konfiguracjach.
Integracja przepływów pracy
Aplikacja Test Lab jest zintegrowana z konsolą Firebase, Android Studio
i gcloud CLI. Tej funkcji możesz też używać w trybie ciągłym
systemów integracji (CI).
Jak to działa?
Test Lab wykorzystuje prawdziwe urządzenia produkcyjne działające w centrum danych Google, aby:
przetestować aplikację. Urządzenia mają zaktualizowane interfejsy API i można je dostosowywać.
ustawień regionalnych, co pozwala testować aplikację na sprzęcie
z konfiguracjami,
jakie będą działać w praktyce.
W razie potrzeby zmień test na Test Lab. Tworzenie
spakować aplikację i przesłać ją do Firebase;
Wybierz urządzenia testowe i zestaw testów
Korzystając z jednego z naszych zintegrowanych narzędzi, zdefiniuj macierz testów, wybierając
zestaw urządzeń, wersje systemu operacyjnego, języki i orientacje ekranu.
Przeprowadzanie testu i sprawdzanie jego wyników
Przeprowadź test, korzystając z naszych dostępnych narzędzi. W zależności od rozmiaru testu
może minąć kilka minut, zanim pojawi się
Test Lab, aby uruchomić testy. Po zakończeniu testów możesz:
mogą zobaczyć wyniki w konsoli Firebase.
[null,null,["Ostatnia aktualizacja: 2025-08-17 UTC."],[],[],null,["# Firebase Test Lab\n=================\n\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|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\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-----------------\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|---|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\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\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/)"]]