Font Size: a A A

Research And Implementation Of Automatic Test Cases Generation Of UAV Software

Posted on:2019-04-15Degree:MasterType:Thesis
Country:ChinaCandidate:W ZhangFull Text:PDF
GTID:2322330563954306Subject:Navigation, guidance and control
Abstract/Summary:PDF Full Text Request
In recent years,The UAV is becoming more and more important in society.The UAV software used as the nerve to drive the normal operation of the aircraft,ensuring the safety of the flight.The characteristic of UAV software is real-time and high reliability,thus,it is indispensable to carry out software testing of reliability.Test cases are the most important part in software testing.The automatic generation of software test cases not only reduces labor cost but also improves the test efficiency effectively,at the same time,it also plays a great role in software development.In summary,It is of great practical and theoretical value to study the automatic generation method of UAV software test cases.This thesis made a deep analysis about the automatic generation method of test case and the test of UAV software at the present stage,based on the software test project of UAV flight control system in a Chengdu institute.On this basis,considering the characteristics of aeronautical software,based on the combination test method,this thesis improved IPO algorithm and ant colony algorithm to generate higher test coverage test cases,at the same time,the causality constraint algorithm was added to complement the test cases to meet the MC/DC standard.Finally,it builded a software platform to generate test cases automatically by software construction technology.The specific research process is as follows.Firstly,this thesis studied a large number of test case automation generation algorithm and software test method in aviation field,and focused on the analysis of the combined test generation algorithm.In this thesis,several methods for automatic generation of test case set in combination testing were introduced,including the principle and drawbacks of each.It also improved the IPO algorithm to generate a set of pairwise combinatorial main test cases,while the ant colony algorithm was added to improve test case set up to three interactive in order to reach coverage about 90%.In addition,the causality constraint algorithm was added to complement the test case of MC/DC standard.It formed the basis of the automatic generation of test cases in this thesis.Secondly,after the research of automatic generation of test cases,this thesis designed the software framework and developed a test case automatic generation tool,including the preprocessing module,test data generation module,test case set generation module and test case set management module.This software can realize the automatic generation function of the UAV software test cases,its interface is well and operates conviniently.Finally,this paper built an aviation software testing environment and taked flight control software as an object to test and verify the test case generation tool and test case coverage,and the results showed that this method is effective,achieves the original coverage target.In summary,the theoretical research,engineering implementation,test and verify in this article prove that this method could generate test cases of UAV software automatically,and achieve the requirement of higher test coverage and simplification of test cases.
Keywords/Search Tags:Test case generation, Software test, Combinatorial test algorithm, Ant colony algorithm
PDF Full Text Request
Related items