Method and device for determining regression testing range

A technique of regression testing and scope, applied in the computer field, can solve problems such as regression testing inaccuracy and regression testing omissions, and achieve the effects of saving testing resources and regression testing time, improving accuracy, and avoiding omissions

Active Publication Date: 2013-09-18
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although regression testing is performed on the basic test cases of important functions in this method, some functions affected by the modified functions may be missed by regression testing, resulting in inaccurate regression testing

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 determining regression testing range
  • Method and device for determining regression testing range
  • Method and device for determining regression testing range

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 The flow chart of the method for determining the scope of regression testing provided by Embodiment 1 of the present invention, such as figure 1 As shown, the method may include the following steps:

[0039] Step 101: Determine the functional units in the software to be tested.

[0040] The functional units involved in this step may be user-visible functional units. The so-called user-visible functional units refer to the minimum black-box function points of the software that can be seen from the software interface and can be operated or observed.

[0041] The determination of these user-visible functional units can be based on the user requirement document or function list of the software to be tested, where one user requirement can correspond to multiple user-visible functional units, and one function in the function list can also correspond to multiple user-visible functional units. Usually, the software development team will have a user requirement docume...

Embodiment 2

[0060] image 3 The device structure diagram for determining the scope of regression testing provided by Embodiment 2 of the present invention, such as image 3 As shown, the device may include: a dependency tree construction unit 300 and a range determination unit 310 .

[0061] The dependency tree construction unit 300 is configured to predetermine the functional units in the software to be tested, and construct a functional dependency tree according to the determined dependencies between the functional units.

[0062] Wherein, the dependency tree construction unit 300 automatically executes the operation of determining the functional units in the software to be tested and constructing the functional dependency tree according to manual input, or based on the user requirement document or function list of the software to be tested.

[0063] Likewise, the functional units involved in this embodiment may be user-visible functional units, or other functional units with smaller o...

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 provides a method and a device for determining a regression testing range. The method comprises the steps of S1, determining function units in to-be-tested software in advance and establishing a function dependence tree according to a dependence relationship between the determined function units; and S2, searching function units depending on a modified function unit by beginning from the modified function unit in the function dependence tree, searching function units depending on each searched function unit when a regression test is carried out, and using the modified function unit and all searched function units as the regression testing range of the to-be-tested software. According to the method and the device, which are provided by the invention, the accuracy of the regression test can be ensured while the testing resource and the testing time are saved.

Description

【Technical field】 [0001] The invention relates to the field of computer technology, in particular to a method and device for determining the scope of regression testing. 【Background technique】 [0002] Regression testing refers to retesting after modifying the old code to confirm that the modification does not introduce new errors or cause errors in other codes. As an integral part of the software life cycle, regression testing occupies a large amount of work in the entire software testing process Volume specific gravity. Multiple regression tests are performed at each stage of software development. In progressive and rapid iterative development, the continuous release of new versions makes regression testing more frequent. Therefore, it is very important to choose the correct regression testing method to improve efficiency and effectiveness. Significantly, the selection of the scope of functions to be tested by regression testing is an important factor in determining the e...

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
Inventor 董杰
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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