使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
测试应用是应用开发过程中不可或缺的一部分。通过持续对应用运行测试,您可以在公开发布应用之前验证其正确性、功能行为和易用性。
测试还会为您提供以下优势:
- 快速获得故障反馈。
- 在开发周期中尽早进行故障检测。
- 更安全的代码重构,让您可以优化代码而不必担心回归。
- 稳定的开发速度,帮助您最大限度地减轻技术负担。
如需详细了解您在开发应用时可使用哪些类型的测试,请参阅测试基础知识,并观看 2019 年 Google I/O 大会的嵌入式视频。
视频
其他资源
如需详细了解如何在 Android 平台上进行测试,请参阅以下资源。
示例
Codelab
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-06-11 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":"其他"
}]