- 1、本文档共6页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于持续集成的Android自动化测试.pdf
2015 年 第24 卷 第 5 期 计 算 机 系 统 应 用
①
基于持续集成的Android 自动化测试
王 焱, 张 征
(华中科技大学 自动化学院, 武汉 430074)
摘 要: Android 测试方面的研究大多集中在测试工具和框架的实现上, 有些工具和框架可以实现测试用例的自
动生成和测试脚本的自动执行. 然而在项目开发过程中, 测试这个活动是需要人工启动的, 不能及时有效地保证
新增或者修改代码的质量. 在 Robotium 测试框架的基础上, 通过研究持续集成方案, 包括被测代码和测试代码
的托管、版本控制, 应用的自动构建, 测试的自动执行, 实现了Android 的自动化测试平台. 使用该测试平台, 可
以及时自动地对被测代码的修改进行测试, 直观可控地保证了Android 应用的质量.
关键词: Android 测试; Robotium 框架; 自动化测试; 持续集成
Continuous Integration Based Study on Automated Testing for Android Platform
WANG Yan, ZHANG Zheng
(School of Automation, Huazhong University of Science Technology, Wuhan 430074, China)
Abstract: Research on Android test mostly focused on the realization of the testing tools and frameworks, some tools
and frameworks can realize automatic test case generation and test scripts execution. However, during software
development, test requires human start, thus cant guarantee the quality of new or modified code timely and effectively.
Based on Robotium framework, this paper researched continuous integration solution, including the code under test and
the test code hosting, version controlling, building the application and test automatically, finally realized the Android
automation test platform. With the test platform, the code updates can be test automatically in time, the quality of the
Android applications can be intuitive and controllable.
Key words: Android test; Robotium framework; automated testing; continuous integration
伴随着Android 系统的走红, 市场对Android 应用 其功能强大、使用简单赢得了大量的用户, 它能够模
程序(APP)的开发提出了更高的要求, 快速推出、快速 拟几乎所有的用户操作, 实现对APP 全面的功能测试.
迭代、快速响应用户的需求. 然后在这个 “快速” 的过 同时, 国内外学术领域对Android 测试也有很多研究.
程中, APP 的质量难以等到保证, 在用户使用时出现应 张灿等[
文档评论(0)