摘要
针对大型嵌入式软件测试的难题,提出了基于系统快照的自动化回归测试方法,并以无人机飞行控制管理软件为研究案例进行了关键技术解析、测试系统设计及分析.利用系统快照技术实现了彼此之间关系繁杂的测试用例的解耦,将复杂的系统测试转化为灵活的单元测试.结合CPPUnit的测试框架,建立了自动化回归测试的系统结构,并深入分析了各部分的功能和执行过程.进而设计出基于系统快照的自动化回归测试执行流程和测试用例的编制流程.给出了某型无人机飞行控制管理软件在不同方法下的测试结果,通过数据对比验证了测试系统的高有效性.
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.
出处
《北京航空航天大学学报》
EI
CAS
CSCD
北大核心
2011年第5期574-578,共5页
Journal of Beijing University of Aeronautics and Astronautics
基金
创新研究群体科学基金(60921001)
关键词
软件测试
自动化测试
系统快照
解耦
飞行控制管理
software testing
automatic test
system snapshot
decoupling
flight control and management