Interface testing method and device

A test method and interface test technology, applied in the computer field, can solve the problems of increasing the interface test complexity, affecting the interface test speed, and low test data efficiency, and achieving the effect of reducing the test complexity and speeding up the test speed.

Inactive Publication Date: 2017-05-03
ALIBABA GRP HLDG LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the traditional technology, when testing the interface of the adjusted module, the test data of the interface is directly constructed manually in the test-driven test script, or the test data is constructed through a custom tool, and then the above-mentioned interface is tested according to the constructed test data. However, in the first method above, the efficiency of manually constructing test data is relatively low, which affects the testing speed of the interface; and in the second method, developers usually need to develop custom tools first, and the development of custom tools requires development The personnel have a good understanding of the internal structure of the module being adjusted. In addition, when the interface of the test changes, it may be necessary to make adaptive modifications to the custom tool and reconstruct the test data, which increases the complexity of the interface test.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0017] In order to facilitate the understanding of the embodiments of the present application, the following will further explain and illustrate with specific embodiments in conjunction with the accompanying drawings, and the embodiments do not constitute a limitation to the embodiments of the present application.

[0018] The interface testing method...

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 embodiment of the invention relates to an interface testing method and device. The interface testing method comprises the following steps: according to interface information of an interface of a called module, reading testing data of the interface from a preset storage unit; sending a first call request to the called module, wherein the first call request carries the interface information and the testing data, and the first call request is used for indicating the called module to test the interface corresponding to the interface information according to the testing data; and receiving a testing result returned by the called module after testing the interface. And therefore, the testing speed of the interface can be speeded up, and the testing complexity of the interface can be reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an interface testing method and device. Background technique [0002] In the traditional technology, when testing the interface of the adjusted module, the test data of the interface is directly constructed manually in the test-driven test script, or the test data is constructed through a custom tool, and then the above-mentioned interface is tested according to the constructed test data. However, in the first method above, the efficiency of manually constructing test data is relatively low, which affects the testing speed of the interface; and in the second method, developers usually need to develop custom tools first, and the development of custom tools requires development The personnel have a good understanding of the internal structure of the module being adjusted. In addition, when the interface of the test changes, it may be necessary to make adaptive modificat...

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
Inventor 屈勇
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products