节点文献

Android应用业务自动化测试工具设计与开发

Design and Development of Software Automated Testing Tool for the Android Application Business

【作者】 李昂

【导师】 单世民;

【作者基本信息】 大连理工大学 , 软件工程(专业学位), 2015, 硕士

【摘要】 如今移动端软件行业,对于软件的功能测试仍然需要测试工程师繁琐的手动测试,人工的按照测试用例去操作,然后查看应用是否符合期望的结果。这样的做法不仅低效而且测试的准确性也存在问题。对于当今移动互联网产业,这种测试方法很难满足敏捷开发,快速迭代以用户为导向的开发模式。然而目前仍然没有完善的Android应用自动化测试解决方案。本文根据Android平台应用软件的设计特点,以及功能测试的特点对产品的自动化测试工具进行了完善的设计和开发。分别对应用本地功能,以及应用与服务器交互两个方面的自动化测试解决方案进行了设计和开发。使用Jython封装了Google提供的UiAutomatior类,使得Android端应用功能测试用例可以进行代码编写以及自动化测试。针对基于http请求、https请求模型的应用与服务器的交互模式,使用Junit测试框架进行二次开发,满足应用在web服务器功能上的自动化测试需求。同时设计并使用了Jenkins对移动端应用代码进行持续集成,将提测代码、自动化测试脚本、代码扫查工具整合到一起,提高产品质量,规范测试业务流程。针对移动互联网敏捷开发的特点,持续的保证产品的质量。总而言之,本文详细介绍了基于Android平台的应用在自动化测试工具的设计中需要考虑的问题和难点,并对具体的自动化测试方法提供了完整的解决方案。旨在提高Android移动端应用产品的质量的同时,可以节约人力成本,最大程度的发挥企业中的人才优势。

【Abstract】 Nowadays, in the mobile application software industry, there is still need software test engineers to test manually corresponding to software function testing which is rather cumbersome. For example, operating in according to the test case and checking if the application meets the expectations manually. But, it is not only inefficient but also the accuracy of the test is problematic by this means. Regarding today’s mobile Internet industry, such testing method can not satisfy the development mode which is agile and fast iterative for market-orientation. However, nowadays, it is difficult to find a perfect automated testing tools suitable for Android Applications.In this paper, the author have made a comprehensive design and development for the aut omated testing tools of product according to the design features of Android platform applicati on software and the features of function testing. It makes a design and development correspon ding to the local functions of application and the interaction between applications and severs.Specifically, it makes Android application write and test the automation examples on the function test by using Jython which repackaged the UiAutomator class, and this makes it possible to code a automatic test program for the Android application. As for the test of the web server, we use the Junit test frame designing a more easily used and well maintainability test tool to satisfy that the web server needs automatic test to guarantee the function quality. At the same time, we use Jenkins to continuously integrate the code for the Android application, which is for the characteristic of the mobile internet, such as agile development, to keep the quality of the application sustainedly.As for all, this paper introduces the problems and difficulties that need to be considered in the design of automated testing tools for the application based on Android platform. And also this paper provides a complete solution for the Android application automatic test. This paper aims to solve the problem which is happening everyday in the Android application testing team, how we can keep the mobile applications’quality continuously and at the same time saving our human resources.

  • 【分类号】TP311.53;TP316
  • 【被引频次】2
  • 【下载频次】81
节点文献中: 

本文链接的文献网络图示:

本文的引文网络