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

Interface testing code generating method and device

An interface testing and testing code technology, applied in the field of interface testing code generation, can solve the problems of high threshold, low efficiency, waste of labor costs, etc., to reduce labor costs, reduce labor input, and improve the efficiency of test development.

Active Publication Date: 2015-07-29
ALIBABA GRP HLDG LTD
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, on the one hand, writing test codes is a relatively high threshold for testers, and the quality of writing is closely related to the quality of testers; on the other hand, writing test codes wastes labor costs and is inefficient

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
  • Interface testing code generating method and device
  • Interface testing code generating method and device
  • Interface testing code generating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0080] The core idea of ​​the present invention is to obtain the method to be tested of the interface to be tested, and generate a use case drive file and an interface test code for the method to be tested by simulating the operation of the input device.

[0081] The present invention can integrate the testNG (Testing Next Generation, next-generation testing technology) plug-in or the secondary packaging tool plug-in based on testNG in the integrated development environment. A testing framework that enhances testing capabilities. This integration enables the separation of test cases and test codes, and the test cases drive the execution of test codes.

[0082] For example, you can integrate JSpec plug-ins, jtester plug-ins, Qtester plug-ins, etc....

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 provides an interface testing code generating method and device. The interface testing code generating method comprises the steps of determining a testing method of an interface to be tested; generating a use case file and testing codes driven by use cases in the use case file by simulating input device operation and adopting the testing method. The interface testing code generating process is automatic, and manual testing code compiling performed by a testing worker is not needed. The testing development efficiency is improved, labor input is decreased, and labor cost is reduced; testing code generation is not influenced by the competence of the testing worker.

Description

【Technical field】 [0001] The invention relates to the technical field of computer applications, in particular to a method and device for generating interface test codes. 【Background technique】 [0002] Within the enterprise, in order to avoid the system being too complicated, it is often inclined to split the more common functions in the system as a public platform, which is called by other systems in the form of public services. Based on this kind of platform thinking, more and more external interfaces are exposed between systems. How to quickly ensure the quality of these external interfaces is a problem faced by every enterprise. The current mainstream method is to write interface test codes to ensure the quality of these exposed interfaces. [0003] However, on the one hand, the threshold for writing test codes is relatively high for testers, and the quality of writing is closely related to the quality of testers; on the other hand, writing test codes wastes labor costs...

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
IPC IPC(8): G06F11/36
Inventor 江进朋
Owner ALIBABA GRP HLDG LTD
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