Rapid test method and device for C + + program interface and storage medium
The invention discloses a quick test method for a C + + program interface, which comprises the following steps of: when a quick test request of the C + + program interface is received, acquiring one or more groups of source data containing C + + header files, and performing C + + grammar analysis on...
Saved in:
Main Authors | , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
04.07.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a quick test method for a C + + program interface, which comprises the following steps of: when a quick test request of the C + + program interface is received, acquiring one or more groups of source data containing C + + header files, and performing C + + grammar analysis on the acquired C + + header files to judge whether a Python or Java test framework can be generated based on the C + + header files; generating a Python or Java test framework based on a syntax analysis result of the C + +; and outputting a Python or Java test result.
本发明公开了C++程序接口的快速测试方法,包括如下步骤:在接收到C++程序接口的快速测试请求时,获取一组或多组包含C++头文件的源数据,对获取的所述C++头文件进行C++的语法解析,以判定是否能够基于所述C++头文件生成Python或Java测试框架;基于对C++的语法解析结果生成Python或Java测试框架;以及输出Python或Java测试结果。 |
---|---|
Bibliography: | Application Number: CN202310363696 |