Regression testing method of UAV flight and management software
-
摘要: 针对大型嵌入式软件测试的难题,提出了基于系统快照的自动化回归测试方法,并以无人机飞行控制管理软件为研究案例进行了关键技术解析、测试系统设计及分析.利用系统快照技术实现了彼此之间关系繁杂的测试用例的解耦,将复杂的系统测试转化为灵活的单元测试.结合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.
-
Key words:
- software testing /
- automatic test /
- system snapshot /
- decoupling /
- flight control and management
-
[1] Mustafa K M,Al-Qutaish R E,Muhairat M I.Classification of software testing tools based on the software testing methods //2nd International Conference on Computer and Electrical Engineering.Dubai:IEEE,2009:229-233 [2] 侯智荣,陈欣,欧干良.无人机飞行控制系统软件测试策略的研究[J].计算机测量与控制,2006,14(7):968-971 Hou Zhirong,Chen Xin,Ou Ganliang.Strategy research on unmanned aircraft vehicle flight control system software[J].Computer Measurement & Control,2006,14(7) :968-971(in Chinese) [3] 刘斌,高小鹏,陆民燕,等.嵌入式软件可靠性仿真测试系统研究[J] .北京航空航天大学学报,2000,26(4):490-493 Liu Bin,Gao Xiaopeng,Lu Minyan,et al.Study on reliability simulation testing system for embedded software[J].Journal of Beijing University of Aeronautics and Astronautics,2000,26(4):490-493 (in Chinese) [4] Mansour N,Bahsoon R.Reduction-based methods and metrics for selective regression testing [J].Information and Software Technologhy,2002,44(7):431-443 [5] Maedche A,Motik B,Stojanovic I.Managing muhiple and distributed ontologles in the semantic web [J].The VLDB Journal,2003,12(4):286-300 [6] 窦金凤,唐瑞春,蒋永国.基于数据载入技术的软件回归测试[J].中国海洋大学学报,2009,39(1):145-148 Dou Jinfeng,Tang Ruichun,Jiang Yongguo.Software regression test based on data load[J].Periodical of Ocean University of China,2009,39(1):145-148 (in Chinese) [7] 李刚毅,金蓓弘.自动化回归测试的技术和实现[J].计算机应用研究,2006,23(2):186-188 Li Gangyi,Jin Beihong.Techniques and realization of automated regression testing[J].Application Research of Computers,2006,23(2):186-188 (in Chinese) [8] 袁晓铭.磁盘阵列系统的快照技术研究 .武汉:华中科技大学计算机科学与技术学院,2007 Yuan Xiaoming.Research on the snapshot technology of the RAID system .Wuhan:School of Computer of Science and Technology,Huazhong University of Science & Technology,2007 (in Chinese) [9] Briand L C,Labiche Y,Soccar G.Automating impact analysis and regression test selection based on UML designs // Proceedings of the International Conference on Software Maintenance(ICSM-02).Washington DC:IEEE,2002:252-261
点击查看大图
计量
- 文章访问数: 3261
- HTML全文浏览量: 72
- PDF下载量: 984
- 被引次数: 0