Test case recommendation method, device, equipment and storage medium

A technology of test cases and recommended methods, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as the inability to accurately judge whether a test case meets the actual test requirements, and achieve the effect of reducing workload

Active Publication Date: 2019-11-05
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF7 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a test case recommendation method, device, equipment and storage medium, aiming to solve the problem of system source code changes in the prior art After that, it is impossible to accurately judge whether the currently used test cases meet the technical problems of actual test requirements

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0048] refer to figure 1 , figure 1 A schematic diagram of the device structure recommended for the test case of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0049] Such as figure 1As shown, the test case recommendation device may include: a processor 1001 , such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network int...

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 software testing, and discloses a test case recommendation method, a device, equipment and a storage medium. The method comprises the steps of reading a current version code and a previous version code corresponding to a to-be-tested application program, and obtaining a change code between the two version codes through a version comparison tool; executing the target test case and obtaining running information of a current version code in a case execution process; reading code coverage information of the target test case on the change code from the running information,judging whether the target test case is used as a recommended test case or not; because the change code is firstly determined,, and then code coverage rate detection is performed on the change code through a target test case corresponding to the previous version code; whether the target test case can be used as the recommended test case is determined according to the detection result, so that whether the currently used test case meets the actual test requirement can be accurately judged after the system source code is changed, and the workload of development testers is reduced.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a test case recommendation method, device, equipment and storage medium. Background technique [0002] With the rapid development of computer software technology testing, more and more objects are involved in software testing, and the corresponding test cases and testing tools are becoming more and more abundant. Usually, developers will add, delete, modify, and other update operations on the source code of the system under test according to actual business needs (such as adding, modifying, or deleting lines in functions, or adding or deleting functions in classes), When the code changes are small, the previously used test cases can often continue to be used; but when the code changes are too large, if the updated system is still tested through the currently used test cases, the test results may be inaccurate. [0003] In view of the above situation, most of them execut...

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/368G06F11/3676
Inventor 杨小彦
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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