Test case module branch or code branch reduction and completion method

The invention discloses a method for reducing and complementing module branches or code branches of test cases, which comprises the following steps of: randomly generating a batch of test cases containing multiple module branches or code branches to construct a test case set, and collecting a batch...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG XIAOXUE, GUO SHIKAI, WANG ZIXUAN, DU NA, JIANG HE, NI ANXIANG, LI XIAOCHEN
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 method for reducing and complementing module branches or code branches of test cases, which comprises the following steps of: randomly generating a batch of test cases containing multiple module branches or code branches to construct a test case set, and collecting a batch of real cases for complementing the test case set; counting module branches or code branches in the test case in each test case set, and calculating the branch coverage degree of the test case; screening the test cases which are not completely covered by the module branches or the code branches in the test case set, generating a to-be-perfected test case set, and summarizing the test cases which are completely covered by the module branches or the code branches into a perfected test case set; performing branch reduction or completion on module branches or code branches of each test case in the to-be-perfected test case set; counting module branches or code branches in the test cases in the to-be-perfected test case