Automatic test code generation method, electronic equipment and computer readable storage medium
The invention discloses a test code automatic generation method, electronic equipment and a computer readable storage medium. The method comprises the steps of obtaining a to-be-tested code and a frame type of a test environment, wherein a code language of the to-be-tested code is different from a c...
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 test code automatic generation method, electronic equipment and a computer readable storage medium. The method comprises the steps of obtaining a to-be-tested code and a frame type of a test environment, wherein a code language of the to-be-tested code is different from a code language of the frame type; and rendering the to-be-tested code to obtain a test code corresponding to the frame type. In this way, the technical problem that a large number of development resources are consumed when test codes are written manually can be solved.
本申请公开了一种测试代码自动生成方法、电子设备及计算机可读存储介质。该方法包括获取待测试代码以及测试环境的框架类型,待测试代码的代码语言与框架类型的代码语言不同;对待测试代码进行渲染,得到与框架类型对应的测试代码。通过上述方式,本申请能够解决人工编写测试代码耗费大量开发资源的技术问题。 |
---|