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

Test case precise recommendation method, device and system, equipment and storage medium

A technology of test cases and recommended methods, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of wasted testing time, incomplete testing, and multiple testing times, so as to improve accuracy and avoid blindness , to avoid the effects of invalid testing

Active Publication Date: 2017-12-26
ALIBABA (CHINA) CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The test case set for the application is often very large. After submitting the new code for the application, when selecting the regression test cases, the following problems often occur: there are many repeated test cases in the selected regression test cases, resulting in the same A piece of code is tested multiple times, wasting a lot of testing time; the test is incomplete, and some test codes are not covered
In order to facilitate the distinction, test cases are generally divided into test case sets of different granularities according to their functions, or the test cases are labeled. In this way, when selecting a test case set, the selected granularity is the use case set or the entire label, and the selection granularity is relatively large. It is easy to miss selection or multiple selection

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0046] As mentioned in the background technology section, after the code of the application is modified, it needs to be subjected to a regression test to verify whether the modification introduces new errors or causes other codes to generate errors. In incremental and rapid iterative development, successive releases of new versions make regression testing more frequent, and in extreme programming methods, several regression tests per day are...

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 test case precise recommendation method, device and system, computing equipment and a storage medium. According to the method, based on code modification information of an application to be tested compared with a previous test version, one or multiple test cases correlated with the code modification information are selected from a test case set to obtain a target test case set, wherein the test case set comprises the one or multiple test cases and code coverage information of the test cases, and the code modification information comprises a code modification portion; according to the code coverage information and the code modification information, the recommendation level of each test case in the target test case set is determined, so that a test case for testing the code modification portion is selected according to the recommendation levels. Therefore, all the test cases in the target test case set are test cases related to the code modification portion, so that an invalid test is avoided; moreover, based on the determined recommendation levels, the precision of the test is further improved, and blindness of the test is avoided.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a test case recommendation method, device, system, computing equipment and storage medium. Background technique [0002] Software testing refers to the process of operating the application program under specified conditions to find program errors, measure the quality of the application, and evaluate whether it can meet the design requirements. A test case is a set of test inputs, execution conditions, and expected results compiled for a special purpose, in order to test a program path or verify whether a specific requirement is met. [0003] Regression testing refers to retesting after modifying old code to confirm that the modification did not introduce new bugs or cause other code to generate errors. As an integral part of the software life cycle, regression testing occupies a large proportion of workload in the entire software testing process, and multiple regression tests wil...

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/3676G06F11/3688
Inventor 刘泽文
Owner ALIBABA (CHINA) CO LTD