Software test data set amplification method based on beetle antennae search

The invention discloses a software test data set amplification method based on beetle antennae search, and belongs to the field of software regression testing. Aiming at the problem that an original test case is difficult to meet the test requirement of a modified new program caused by software evol...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG SHUYAN, HU QIANHUA, SUN JIAZE
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a software test data set amplification method based on beetle antennae search, and belongs to the field of software regression testing. Aiming at the problem that an original test case is difficult to meet the test requirement of a modified new program caused by software evolution, the invention provides a test case amplification method based on program execution information and beetle antennae search. The method includes: statically analyzing new and old version programs, obtaining a method call graph and program execution information, obtaining a target method set needing to be tested, and sorting the target methods by calculating the influence degree of errors contained in the methods; according to the method coverage information of an original test case set, selecting part of test cases as an initial population, designing a fitness function through branch distances and branch nesting depths, and adopting an improved beetle antennae search algorithm to perform test data amplificatio