Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Firebase Test Lab
plat_iosplat_android
Kiểm tra ứng dụng của bạn trên các thiết bị được lưu trữ trong trung tâm dữ liệu của Google.
Firebase Test Lab là cơ sở hạ tầng kiểm thử ứng dụng trên đám mây cho phép bạn thử nghiệm ứng dụng của bạn trên nhiều thiết bị và cấu hình để bạn có thể cải thiện ý tưởng về cách sản phẩm sẽ hoạt động khi được người dùng trực tiếp cung cấp.
Chạy thử nghiệm trên nhiều thiết bị Android và iOS do Test Lab lưu trữ, bao gồm cả các thiết bị kiểm thử Android ảo chạy trên máy chủ Arm nhanh hơn.
Chạy trên thiết bị thực
Test Lab tập thể dục ứng dụng của bạn trên các thiết bị được cài đặt và chạy trong trung tâm dữ liệu của Google, nên bạn có thể tìm thấy các vấn đề chỉ xảy ra trên các thiết bị và cấu hình cụ thể.
Tích hợp quy trình công việc
Test Lab được tích hợp với bảng điều khiển của Firebase, Android Studio, và gcloud CLI. Bạn cũng có thể dùng chế độ liên tục Các hệ thống tích hợp (CI).
Tính năng này hoạt động như thế nào?
Test Lab sử dụng các thiết bị thực tế, đang chạy trong một trung tâm dữ liệu của Google để thử nghiệm ứng dụng của bạn. Các thiết bị được cài đặt ROM các API đã cập nhật và có thể tuỳ chỉnh ngôn ngữ bản địa hoá, cho phép bạn kiểm thử ứng dụng trên phần cứng cũng như các cấu hình khác nhau trong thực tế.
Tổng quan về lộ trình triển khai
Chuẩn bị ứng dụng sẵn sàng cho việc kiểm thử
Trước tiên, hãy chọn một chương trình kiểm thử để chạy:
Nếu cần, hãy sửa đổi quy trình kiểm thử để chạy trên Test Lab. Xây dựng và đóng gói ứng dụng của bạn, sau đó tải ứng dụng lên Firebase.
Chọn thiết bị thử nghiệm và ma trận thử nghiệm
Sử dụng một trong những công cụ tích hợp của chúng tôi, xác định ma trận kiểm thử của bạn bằng cách chọn một nhóm thiết bị, phiên bản hệ điều hành, ngôn ngữ và hướng màn hình.
Chạy thử nghiệm và xem lại kết quả thử nghiệm
Chạy kiểm thử bằng các công cụ mà chúng tôi cung cấp. Tuỳ thuộc vào quy mô của bài kiểm tra ma trận, có thể mất vài phút để Test Lab để chạy kiểm thử. Sau khi thử nghiệm kết thúc, bạn có thể xem kết quả trong bảng điều khiển Firebase.
Các bước tiếp theo
Truy cập vào phần tổng quan về cách bắt đầu: iOS, Android
Kiểm thử ứng dụng của bạn bằng bảng điều khiển Firebase: iOS, Android
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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/)"]]