Test case automatic generation method based on structured demand
The invention discloses an automatic test case generation method based on a structured demand, which belongs to the technical field of software testing and comprises the following steps: judging whether a target structured demand contains a branch structure and a structure coverage type needing to b...
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 discloses an automatic test case generation method based on a structured demand, which belongs to the technical field of software testing and comprises the following steps: judging whether a target structured demand contains a branch structure and a structure coverage type needing to be met or not; calling different algorithms to generate a test case reference library according to whether a branch structure is included and a structure coverage type needing to be met; 3, counting the number NT of the cases with the condition value of T and the number NF of the cases with the condition value of F in the test case reference library; and replacing the condition value with the value of the corresponding input variable. Based on the method provided by the invention, the test case is automatically generated and can be directly used for guiding a tester to carry out manual test or automatic test script development; according to the method, the development efficiency of the test case can be effectively i |
---|