Method and device for generating test case set
The invention provides a test case set generation method and device, and relates to the technical field of automatic programming, and the method comprises the steps: randomly generating a candidate test case set of a target to-be-tested application; selecting one test case from the candidate test ca...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a test case set generation method and device, and relates to the technical field of automatic programming, and the method comprises the steps: randomly generating a candidate test case set of a target to-be-tested application; selecting one test case from the candidate test case set as a target test case; adding the target test case into a target test case set; determining the similarity between the target test case and each test case in the current candidate test case set; executing the target test case; and according to the execution result, selecting a test case from the current candidate test case set as a target test case, and adding the target test case to a target test case set. Through the mode, the problem that the hybrid parameters cannot be adapted due to the fact that the test case set can only be generated for the input parameters of a single type in the prior art is solved, and the technical effect of accurately and efficiently generating the test case set for the hybrid p |
---|