Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test code generation method and module and test method and system

A technology for testing code and generating modules, applied in the computer field, can solve the problem of high labor cost, reduce repeated investment, facilitate code maintenance, and improve efficiency

Active Publication Date: 2019-10-08
HANGZHOU DT DREAM TECH
View PDF13 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the massive access of new cloud products, on the one hand, it is necessary to continuously invest manpower in writing new product test codes; on the other hand, it is necessary to continuously ensure the availability of old cloud product functions and interfaces, and maintain the developed test codes , high labor cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test code generation method and module and test method and system
  • Test code generation method and module and test method and system
  • Test code generation method and module and test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0038] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a test code generation method and module, a test method and system, an electronic device and a storage medium. The test code generation method comprises the steps of obtainingthe interface information, the test data and a test case corresponding to a to-be-tested system; respectively importing the interface information, the test data and the test case into the corresponding templates to generate the corresponding packaging layer test files, data layer test files and verification layer test files; and generating the test code according to the packaging layer test file,the data layer test file and the verification layer test file. In the application, a tester does not need to manually compile codes, and only needs to pay attention to the process steps of the interface test and provide the corresponding data, so that the automatic generation of the test codes can be realized, the code compiling efficiency is greatly improved, and the labor cost is reduced.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a test code generation method and module, a test method and system, electronic equipment, and a storage medium. Background technique [0002] The current cloud computing field is developing rapidly, and cloud products are constantly being introduced. With the rapid changes in user needs and the continuous expansion of application scenarios, the function assurance and interface maintenance of new and old cloud products are facing a relatively large test. In order to fully guarantee product and system quality, it is necessary to conduct various tests including interfaces on cloud products. [0003] Since the error rate of machine execution is much lower than that of manual execution, and the running time is fast and the operating efficiency is high. At present, automated testing is generally used for interface testing, which requires testers to write a large number o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 黄文钰
Owner HANGZHOU DT DREAM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products