Check out what’s new from Firebase at Google I/O 2022.
Learn more
Firebase Test Lab
plat_ios
plat_android
在 Google 数据中心内托管的设备上测试您的应用。
Firebase Test Lab 是基于云的应用测试基础架构,它让您可以在一系列设备上以及各种配置下测试自己的应用,以便更好地了解其在用户手中将如何表现。
运行测试
如需查看使用 Test Lab 运行测试的说明,请访问我们的入门指南:
Android
iOS
主要功能
测试 Android 和 iOS 应用 |
在 Test Lab 托管的各种 Android 和 iOS 设备上运行测试。
|
在真机上运行应用 |
Test Lab 在安装并运行于 Google 数据中心内的设备上测试应用,因此能够发现只会在使用特定设备和配置时发生的问题。
|
工作流集成 |
Test Lab 已与 Firebase 控制台、Android Studio 和 gcloud CLI 集成。不仅如此,Test Lab 还可以与持续集成 (CI) 系统配合使用。
|
工作原理
Test Lab 会使用 Google 数据中心内运行的处于生产环境的真机设备测试您的应用。这些设备会及时更新 API,支持自定义语言区域设置,因此您能够根据实际使用时将遇到的硬件和配置对应用进行实境测试。

数据中心内的设备
实现流程概览
|
让应用做好测试准备 |
- 首先,选择要运行的测试:
- 如有必要,请修改您的测试以便在 Test Lab 中运行。构建您的应用并打包,然后将其上传到 Firebase。
|
|
选择测试设备和测试矩阵 |
使用我们的一种集成式工具,选择一组设备、操作系统版本、语言区域和屏幕方向来定义测试矩阵。
|
|
运行测试并查看测试结果 |
使用我们的可用工具运行测试。Test Lab 运行测试的过程会持续数分钟,具体时长取决于测试矩阵的规模。测试结束后,您可以在 Firebase 控制台中查看结果。
|
后续步骤
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-05-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]