本文已被:浏览 1466次 下载 3370次
Received:November 21, 2014 Revised:December 29, 2014
Received:November 21, 2014 Revised:December 29, 2014
中文摘要: Android测试方面的研究大多集中在测试工具和框架的实现上, 有些工具和框架可以实现测试用例的自动生成和测试脚本的自动执行. 然而在项目开发过程中, 测试这个活动是需要人工启动的, 不能及时有效地保证新增或者修改代码的质量. 在Robotium测试框架的基础上, 通过研究持续集成方案, 包括被测代码和测试代码的托管、版本控制, 应用的自动构建, 测试的自动执行, 实现了Android的自动化测试平台. 使用该测试平台, 可以及时自动地对被测代码的修改进行测试, 直观可控地保证了Android应用的质量.
中文关键词: Android测试 Robotium框架 自动化测试 持续集成
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 can't 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.
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(61100145)
引用文本:
王焱,张征.基于持续集成的Android自动化测试.计算机系统应用,2015,24(5):261-266
WANG Yan,ZHANG Zheng.Continuous Integration Based Study on Automated Testing for Android Platform.COMPUTER SYSTEMS APPLICATIONS,2015,24(5):261-266
王焱,张征.基于持续集成的Android自动化测试.计算机系统应用,2015,24(5):261-266
WANG Yan,ZHANG Zheng.Continuous Integration Based Study on Automated Testing for Android Platform.COMPUTER SYSTEMS APPLICATIONS,2015,24(5):261-266