The invention provides a keyword-driven airborne
software automatic test method and
system, and belongs to the field of
aviation airborne
software test. The method comprises the following steps: extracting a function keyword according to the design scheme of each subsystem of an
avionics system, constructing logic input and output of each subsystem according to the function keyword, and meanwhile constructing a logic function of each interface keyword according to an interface control file of the
avionics system; constructing a case script comprising a step of quoting the logic input and output of the corresponding subsystem and the logic function of the corresponding interface keyword according to case demands, a step executing the case and a step of judging a case result; and judging whether the airborne
software satisfies the design demands according to the case result. By adoption of the test method, the
reusability of the
test script is improved, and the formation of test assets is facilitated; the cost of regression test is reduced, the test period of the whole process is shortened, the consistency of the test process is guaranteed, and the
automation level of the test is improved.