The invention discloses an unmanned aerial vehicle intelligent
airway planning test method based on metamorphic test technology, comprising the following steps: (1) analyzing an unmanned aerial vehicle intelligent
airway planning
algorithm, defining a metamorphic relationship, and designing a subsequent
test case generator and a result
comparator; (2) generating an initial
test case set by utilizing a random value method under a certain constraint rule and inputting the initial
test case set into the
algorithm to obtain initial output of test cases; (3) taking the initial test case set and theinitial output as inputs and obtaining a subsequent test case set and a corresponding subsequent output through a subsequent
test case generator; and (4) inputting an initial output result and a subsequent output result into a result
comparator. If a corresponding metamorphic relation is met, the test is passed, and no defect is found; otherwise, an unmanned aerial vehicle intelligent
route planning
algorithm has defects. According to the invention, the problem of lack of
Oracle in unmanned aerial vehicle intelligent
route algorithm testing can be alleviated, the generation of test cases canbe guided, and the
utilization rate of the test cases can be improved.