Interface case generation method and device, computer equipment and storage medium
The invention relates to an interface case generation method and device, computer equipment and a storage medium. The interface case generation method comprises the following steps: generating an interface request log; the interface request log comprises each field required for generating the interf...
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 relates to an interface case generation method and device, computer equipment and a storage medium. The interface case generation method comprises the following steps: generating an interface request log; the interface request log comprises each field required for generating the interface use case; collecting data information of each field in the historical log, and matching the data information of each field with each field in the interface request log to obtain a plurality of field groups; assembling each field group to obtain an interface request, performing test execution by adopting the interface request, and generating a code coverage rate; and under the condition that the code coverage rate is greater than the historical code coverage rate, generating an interface case based on the interface request. According to the method provided by the invention, the interface case can be automatically generated, and the problems that the interface test case is low in writing efficiency and the covera |
---|