Unlock instant, AI-driven research and patent intelligence for your innovation.

Interface test case generation method, apparatus, computer device, and storage medium

A technology of test cases and interface testing, applied in the field of testing, can solve the problems of heavy interface testing tasks, heavy workload, and low efficiency, and achieve the effect of avoiding manual writing of test cases, improving work efficiency, and ensuring quality

Pending Publication Date: 2019-02-26
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The test case scripts of traditional automated tests are all written into fixed input scripts. Due to the fast pace of product launch in the Internet industry and frequent version update iterations, the task of interface testing is heavy. In order to ensure test quality, testers need to write a large number of tests. Use case scripts, heavy workload and not very efficient

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 test case generation method, apparatus, computer device, and storage medium
  • Interface test case generation method, apparatus, computer device, and storage medium
  • Interface test case generation method, apparatus, computer device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0061] The interface test case generation method provided by this application can be applied to such as figure 1shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. The server 104 obtains the input parameter data of the test interface from the terminal 102, the server 104 splits the input parameter data into a plurality of parameter fields, obtains the field characteristics of each parameter field, and uses the valid characteristics or invalid characteristics in the field characteristics as According to the...

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 present application relates to the field of test technology and provides an interface test case generation method, apparatus, computer device and storage medium. The method comprises: Gets the incoming parameter data for the test interface, Split the incoming parameter into multiple parameter fields, and get the field attributes for each parameter field, Depending on the valid or invalid attribute in the field attribute, Divides the parameter fields into valid and invalid parameters, According to the valid parameters and the invalid parameters, the test cases are combined to generate testcases. The number of test cases is increased, the test coverage is improved, the quality of test is ensured, the manual writing of test cases is avoided, and the work efficiency is improved by the automatic combination generation method.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a method, device, computer equipment and storage medium for generating interface test cases. Background technique [0002] For the Internet industry, interface testing is of great significance, because many terminal devices, such as mobile phones and personal computers, interact with terminal users through background services. The interaction between the background service and the terminal device is realized through the interface. Therefore, it is very important to ensure the usability, stability and robustness of the interface. However, Internet companies, especially Internet finance companies, have a fast-paced product launch and frequent version update iterations. How to ensure the quality of the line, especially the quality of the interface brings higher requirements, so strict interface testing is required to ensure the quality of our services. There is no proble...

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/3688G06F11/3684
Inventor 孙锦程徐志成
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN