Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test case screening method and device, computer equipment and storage medium

A test case and screening method technology, applied in the computer field, can solve problems such as poor test case coverage, long test cycle, and insufficient system

Pending Publication Date: 2019-11-22
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the traditional method, all test cases need to be executed to test the business system. However, the number of test cases is large, and it is difficult to quickly and accurately complete all test cases for modifying some codes, resulting in a long test cycle. If only part of the code is modified Executing some test cases can easily lead to poor coverage of test cases, and the system is not comprehensive enough, so when testing the business system after code modification, the test cases are less targeted

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
  • Test case screening method and device, computer equipment and storage medium
  • Test case screening method and device, computer equipment and storage medium
  • Test case screening method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] 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.

[0021] The test case screening method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through a network. Wherein, the terminal 102 can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be realized by an independent server or a server cluster composed of multiple servers. When the server 104 detects a new code file to be tested uploaded by the terminal 102...

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 relates to a test case screening method and device, computer equipment and a storage medium. The method comprises the steps of when a to-be-detected code file is detected each time, recognizing a code modification label of the to-be-detected code file, and storing the code modification label in a history table; obtaining a plurality of test cases, and executing the plurality of testcases based on the to-be-tested code file each time; associating the test cases of which the test results are test failure with the corresponding code modification tags, and recording corresponding association relationships in a historical table; calculating the failure times of each test case associated with each code modification tag based on the historical table; and determining a target test case corresponding to each code modification label according to each code modification label and the failure times of each associated test case. By adopting the method, the pertinence of the test casescan be improved when a service system after code modification is tested.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a test case screening method, device, computer equipment and storage medium. Background technique [0002] With the development of computer technology, the business fields involved in the business system become more and more complex. As the requirements for business systems are constantly updated, the development codes of business systems will also be continuously improved and optimized. In order to ensure the normal operation of the business system, it is necessary to perform a regression test on the business system after each code file is modified and updated. In the traditional method, all test cases need to be executed to test the business system. However, the number of test cases is large, and it is difficult to quickly and accurately complete all test cases for modifying part of the code, resulting in a long test cycle. If only part of the code is modified Exe...

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/3688
Inventor 陈家荣
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products