北京航空航天大学学报 ›› 2011, Vol. 37 ›› Issue (5): 574-578.

• 论文 • 上一篇    下一篇

一种无人机飞行控制管理软件回归测试方法

田峰1, 丁文锐1, 李红光1, 李新军2   

  1. 1. 北京航空航天大学 无人驾驶飞行器设计研究所, 北京 100191;
    2. 北京航空航天大学 机械工程及自动化学院, 北京 100191
  • 收稿日期:2010-03-09 出版日期:2011-05-30 发布日期:2011-05-30
  • 作者简介:田 峰(1979-),男,北京人,工程师,buaatf@126.com.
  • 基金资助:

    创新研究群体科学基金(60921001)

Regression testing method of UAV flight and management software

Tian Feng1, Ding Wenrui1, Li Hongguang1, Li Xinjun2   

  1. 1. Research Institute of Unmanned Aerial Vehicle, Beijing University of Aeronautics and Astronautics, Beijing 100191, China;
    2. School of Mechanical Engineering and Automation, Beijing University of Aeronautics and Astronautics, Beijing 100191, China
  • Received:2010-03-09 Online:2011-05-30 Published:2011-05-30

摘要: 针对大型嵌入式软件测试的难题,提出了基于系统快照的自动化回归测试方法,并以无人机飞行控制管理软件为研究案例进行了关键技术解析、测试系统设计及分析.利用系统快照技术实现了彼此之间关系繁杂的测试用例的解耦,将复杂的系统测试转化为灵活的单元测试.结合CPPUnit的测试框架,建立了自动化回归测试的系统结构,并深入分析了各部分的功能和执行过程.进而设计出基于系统快照的自动化回归测试执行流程和测试用例的编制流程.给出了某型无人机飞行控制管理软件在不同方法下的测试结果,通过数据对比验证了测试系统的高有效性.

Abstract: In order to solve the large embedded software testing problems,an automated regression testing method based on system snapshot was proposed. Taking unmanned aerial vehicle(UAV) flight control software as a case study, some key technology researching, system architecture designing and experiment analyzing were carried out by degrees. The system snapshot technology was used to decouple the test cases which had complex relationship with each others, then transformed complex systems testing into some flexible unit testing. With CPPUnit testing framework, an automated regression testing system structure was established, and the function and implementation process of each part were deeply analyzed. Furthermore, based on the system snapshot technology, the process of automated regression testing and the preparation of test cases were designed. Two kinds of experimental result of a large UAV flight control software testing using different method was given. Through comparative analysis of the evidence-based data, test system-s effectiveness was verified.

中图分类号: 


版权所有 © 《北京航空航天大学学报》编辑部
通讯地址:北京市海淀区学院路37号 北京航空航天大学学报编辑部 邮编:100191 E-mail:jbuaa@buaa.edu.cn
本系统由北京玛格泰克科技发展有限公司设计开发