首页 | 本学科首页   官方微博 | 高级检索  
     

模型驱动的移动应用测试方法
引用本文:冯谷,李尼格.模型驱动的移动应用测试方法[J].计算机科学,2017,44(11):232-239, 245.
作者姓名:冯谷  李尼格
作者单位:全球能源互联网研究院信息通信研究所 南京210003信息网络安全国网重点实验室 南京210003,全球能源互联网研究院信息通信研究所 南京210003信息网络安全国网重点实验室 南京210003
基金项目:本文受国网公司科技项目:面向电力移动终端的应用测试技术研究(5455HT150029)资助
摘    要:移动互联网时代,移动智能终端和移动应用已经成为各领域竞相采用的祖尧解决方案。与此同时,移动终端硬件和平台的多样性和异构性,造成了移动应用开发和测试中存在大量工作冗余以及难以复用的情况,带来了跨平台问题,成为了学术界和工业界研究和实践的热点。文中提出使用模型驱动的移动应用测试方法。首先,使用UML状态机模型刻画移动应用的行为;然后,基于移动应用的行为模型,自动生成平台无关的测试用例;最后,将与平台无关的测试用例映射到多个移动平台,产生可执行的自动化测试用例。在此基础上,选择形如掌上电力的应用作为案例,分别实现IOS和Android平台上的自动化测试,验证了模型驱动移动应用测试方法在解决跨平台问题时的有效性。

关 键 词:移动应用    移动终端  跨平台  模型驱动  测试用例  平台无关  自动化测试
收稿时间:2016/9/8 0:00:00
修稿时间:2016/12/24 0:00:00

Model-driven Testing for Mobile Applications
FENG Gu and LI Ni-ge.Model-driven Testing for Mobile Applications[J].Computer Science,2017,44(11):232-239, 245.
Authors:FENG Gu and LI Ni-ge
Affiliation:Information Communication Research Institute,Global Energy Interconnection Research Institute,Nanjing 210003,China State Grid Key Laboratory of Information & Network Security,Nanjing 210003,China and Information Communication Research Institute,Global Energy Interconnection Research Institute,Nanjing 210003,China State Grid Key Laboratory of Information & Network Security,Nanjing 210003,China
Abstract:In mobile Internet,the intelligent mobile terminal and mobile applications are widely used in all fields.At the same time,the diversity and heterogeneity of the mobile terminal hardware and platform have caused redundant work in mobile application development and testing.Cross platform issues arise and it becomes a hot area for study and practice in academic and industry.This paper proposed model driven testing for mobile applicaitons.Firstly,the method uses UML state machine to describe the behaviour of the application.Secondly,based on the behaviour model,the method generates platform independent test cases automatically.Lastly,the method maps the test cases which are unrelated to platform to multiple platforms and generates executable test cases.This paper chose a power application as an example and realized the automation test in both IOS and Android.The validity of the model driven testing method was verified in solving the cross platform problem.
Keywords:Mobile application  Mobile terminal  Cross platform  Model-driven  Test case  Platform independent  Auto-testing
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号