Method and device for generating interface test cases, equipment and readable storage medium

A technology of interface testing and test cases, which is applied in the field of communication, can solve problems such as heavy workload, incomplete testing, and low testing efficiency, and achieve the effects of reducing workload, avoiding repeated testing, and improving testing efficiency

Inactive Publication Date: 2018-04-10
CHINA PING AN LIFE INSURANCE CO LTD
View PDF4 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to provide a method, devic...

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
  • Method and device for generating interface test cases, equipment and readable storage medium
  • Method and device for generating interface test cases, equipment and readable storage medium
  • Method and device for generating interface test cases, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0046] The invention provides a method for generating interface test cases.

[0047] Please refer to figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the method for generating interface test cases according to the present invention. In this embodiment, the method for generating the interface test case includes:

[0048] Step S10: When the generation instruction is received, the interface parameter file of the interface to be tested stored in the terminal is obtained.

[0049] With the development of communication technology, there are more and more application functions of various application software, such as instant messaging software such as WeChat and QQ installed on mobile phones or computers, payment software such as Alipay and Baidu wallet, Ping An Bank, Ping An Easy Loan, etc. Financia...

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 a method and device for generating interface test cases, equipment and a readable storage medium. The method for generating the interface test cases includes the steps of obtaining interface parameter documents of an interface to be tested stored in a terminal when receiving a generation instruction; generating multiple test cases according to the interface parameter documents and determining whether there are duplicates in the multiple test cases; removing the duplicate test cases when there are duplicates in the multiple test cases to form target test cases. Accordingto the method and device for generating the interface test cases, the equipment and the readable storage medium, the test cases are automatically generated based on the interface parameter documents,test scenarios covered with the generated test cases are comprehensive to prevent omissions and prevent testers from manually writing the test cases, so that the workload of the testers is reduced; at the same time, through removing the duplicates in the test cases, the uniqueness of the test cases in each test scenario is ensured, duplicate tests are avoided, and the test efficiency is improved.

Description

Technical field [0001] The present invention mainly relates to the field of communication technology, and in particular to a method, device, equipment and readable storage medium for generating interface test cases. Background technique [0002] Computers, mobile phones, and other devices can communicate with the server to achieve multiple functions, and various functions are implemented by calling multiple interfaces through program code, such as a login interface that implements a web page or APP login function. Before each function is put on the market, an interface test is required to ensure the normal use of the function. Interface testing needs to consider multiple usage scenarios of the function, such as login success and login failure scenarios, and login failures also include failures caused by incorrect accounts and / or passwords. At present, interface testing is implemented by testers manually writing test cases. Test cases need to be written for each scenario. In the ...

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/3684
Inventor 何新荣
Owner CHINA PING AN LIFE INSURANCE 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