Interface automatic test method, test device, test equipment and storage medium

An automated testing and interface technology, which is applied in the fields of testing equipment and storage media, interface automated testing methods, and testing devices, can solve the problems of low efficiency of test case writing, inability to trace the interface testing process, and low efficiency of interface testing, and achieve the goal of testing The report is comprehensive and accurate, the effect of improving the convenience of use and strong traceability

Active Publication Date: 2019-06-07
SUZHOU DRAGONTESTING INTELLIGENT TECH CO LTD
View PDF7 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Because testers need to manually write test cases in the existing technology, when there are many parameters in the interface, testers need to manually write dozens or even hundreds of test cases...

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 automatic test method, test device, test equipment and storage medium
  • Interface automatic test method, test device, test equipment and storage medium
  • Interface automatic test method, test device, test equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0053] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 discloses an interface automatic test method, a test device, test equipment and a storage medium, and the test method comprises the steps: obtaining interface set information of a to-be-tested object, and the interface set information comprises all interface nodes and interface descriptions thereof; according to the to-be-tested function, arranging the related interface nodes in sequence, and establishing association between the output parameter of the previous interface node and the input parameter of the next interface node in the two adjacent interface nodes to obtain an interface flow chart; performing deep traversal on the interface flow chart in combination with preset input parameters of the interface node, and generating a test code corresponding to each complete branch path from the traversal starting node to the back according to the complete branch path, the test code comprising a program for calling the interface node; and running the test code in the test running environment to obtain a test result. According to the invention, the test code for testing the interface is automatically generated by utilizing the interface endpoint flow and the configured parameters, and the automatic test can be completed by running the code in the test environment.

Description

technical field [0001] The invention relates to the technical field of computer testing, in particular to an interface automatic testing method, a testing device, testing equipment and a storage medium. Background technique [0002] With the development of software technology, more and more software provides services to users through platformization, and third parties can customize their own services according to the interface provided by the platform. Therefore, software often involves interface testing nowadays. Interfaces are predefined functions intended to provide applications and developers the ability to access a set of routines based on a piece of software or hardware without having to access the source code, or understand the details of the inner workings. Interface testing is a test that submits input data to the interface, obtains the returned results, and analyzes whether the results meet expectations. [0003] The interface testing method in the prior art is as...

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
CPCG06F11/36
Inventor 师江帆
Owner SUZHOU DRAGONTESTING INTELLIGENT TECH CO 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