Font Size: a A A

Research On Flight Control System Of Automatic Test Case Generation Method

Posted on:2022-03-15Degree:MasterType:Thesis
Country:ChinaCandidate:P H ZouFull Text:PDF
GTID:2492306329985599Subject:Computer Software and Application of Computer
Abstract/Summary:PDF Full Text Request
With the continuous development of science and technology,UAV applications are more and more widely.As one of the core systems of UAV,it is very important to fully and effectively test the flight control system.Due to the complex logic and strong real-time characteristics of the flight control system,most of the test cases or test scripts are written manually in the test process.Therefore,the automatic test case generation method of flight control system studied in this paper is of great significance.Based on the study of some existing automatic test technologies and test case generation methods,this paper selects the method based on UML state diagram to generate test cases of flight control system.However,the UML state diagram is not enough to describe the flight control system with time characteristics.This paper improves the method of generating test cases by UML state diagram,and proposes a method of automatically generating test cases by UML state diagram after real-time expansion.(1)The shortcomings of UML-based state diagram in describing time characteristics are analyzed,and a real-time extension scheme is proposed,and the specific contents of the realtime extension scheme are introduced in detail:1)The clock is introduced.2)Define the representation method of time constraint.3)Describe time-constrained behavior.Finally,the UML state diagram of real-time extended flight control system is given.(2)The method of generating test cases based on UML state diagram is analyzed,and the improved method of generating test cases based on real-time extended UML state diagram is described in detail in this method.When generating test path,the time constraint is processed by the method of equivalent partition of time domain,the migration equivalence class is constructed,and the test migration tree is generated.The test path is obtained by traversing the test migration tree in depth.When generating test data,the flight control system is modeled statically,and the description of input variables is given.Finally,the test case set is obtained by using the test case generation algorithm.(3)The design of the automatic test case generation tool for the flight control system is completed.The method of automatic test case generation for the UML state diagram of the flight control system after real-time expansion is systematically implemented,and the automatic generation of some test cases for the flight control system is completed.The test results are good,indicating the effectiveness of the method.
Keywords/Search Tags:Flight control system, Test cases, UML state diagram, Time division
PDF Full Text Request
Related items