Automatic test case determination method and device, equipment and storage medium

A technology for automated testing and determination of methods, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as increasing the efficiency of immediate feedback on testing and iterative development, and increasing the time for regression verification or basic process verification.

Pending Publication Date: 2020-07-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as the number of automated test cases increases, the time for regression verification or basic process verification will also increase, thereby increasing the efficiency of instant feedback and development iteration efficiency of continuous integration of projects

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
  • Automatic test case determination method and device, equipment and storage medium
  • Automatic test case determination method and device, equipment and storage medium
  • Automatic test case determination method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment C、D

[0107] In a specific example, such as Figure 7 As shown, deploying the AOP version of the service in the test environment or automated test environment collects full-function dynamic links and associates them with each automated test case. Among them, the automated test cases A, C, and D are respectively associated with three different function dynamic links; the change of the current iteration is analyzed from the version manager, and the change of the function is obtained, such as adding, modifying or deleting specific logic inside the function. According to the changed function name, associate the dynamic call link of the whole function, and recommend the automated test cases according to the binding relationship. Such as Figure 8 As shown, when the code of function G is added and part of the code of function F is deleted, since function F corresponds to two dynamic links, and these two dynamic links are respectively associated with automated test cases C and D, since G ...

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 automated test case determination method and device, equipment and a storage medium. The method comprises the steps of obtaining a target code; when the target code is iteratively changed, determining a change code; determining a target function dynamic call link set corresponding to the change code; determining a target automatic test case set matched with the target function dynamic call link set based on a preset database; the construction method of the preset database comprises the steps that in the running process of each automatic test case, codes are injectedin a section-oriented programming mode, and collecting a function dynamic calling link; determining an automated test case corresponding to each function dynamic call link; and constructing a preset database based on the mapping relationship between each function dynamic call link and the automatic test case. According to the method and the device, the automated test cases influenced by code change can be determined, so that all the automated test cases are prevented from being verified, and the verification efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of automated testing, and in particular to a method, device, equipment and storage medium for determining automated testing cases. Background technique [0002] Automated testing is a process that converts human-driven testing behavior into machine execution. It is a testing method that saves manpower and time costs and improves testing efficiency. Automated testing technology is widely used in the field of software testing, mainly for rapid regression verification of online software. Automated testing needs to convert manual test cases into machine-executed scripting language. This process is called automated use case development, which is the focus and difficulty of automated testing. [0003] With the diversification and complexity of business, testers will write more and more automated test cases to facilitate regression verification or continuous verification of the basic process of continuou...

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
CPCG06F11/3684G06F11/3688
Inventor 周勇钧
Owner TENCENT TECH (SHENZHEN) 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