Protocol test case object generation method and system
The invention discloses a protocol test case description and automatic generation method and system, and belongs to the field of novel testing. The method comprises the following steps: determining a definition of a test case field according to a protocol test type of a tested protocol, determining...
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 a protocol test case description and automatic generation method and system, and belongs to the field of novel testing. The method comprises the following steps: determining a definition of a test case field according to a protocol test type of a tested protocol, determining a constraint condition of the test case field, and determining a test case specification according to the constraint condition; obtaining a data structure of the test case; determining a data model of the test case; according to the test case specification, generating a test case text, adopting a data model of the test case to label the test case text, and generating a formalized test case object; the generated formalized test case object is analyzed, an executable protocol test case object of the tested protocol is generated, and the executable protocol test case object is used for running in a test system. The method is good in compatibility, can be applied to protocol testing, and can also be applied to function |
---|