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

Regression test case sequencing method based on error propagation network

A technology of error propagation and regression testing, applied in software testing/debugging, etc., can solve problems such as insufficient utilization of structural information

Active Publication Date: 2013-12-18
WUHAN UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing methods have shortcomings in the utilization of structural information

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
  • Regression test case sequencing method based on error propagation network
  • Regression test case sequencing method based on error propagation network
  • Regression test case sequencing method based on error propagation network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0039] A method for sorting regression test cases based on error propagation network, characterized in that it comprises the following steps:

[0040] Step 1, construct an object-oriented error propagation network, the specific steps are as follows:

[0041] Step 1.1, Build figure 1 The code fragment is in the method property granularity network WFDN=(N f ,E f )(Such as figure 2 shown): the text on the edge of the node is the name of the corresponding method or attribute, and the edge represents the call relationship between methods and the use relationship of the method to the attribute. The edge weight is set to 1, where N f Represents feature nodes in the system, where feature nodes represent methods and properties; E fDenotes directed edges between feature nodes, E f (i, j) means that there is an edge between node i and node j, and the direction is from node i to node j; the methods and attributes represented by the characteristic nodes specifically refer to: the col...

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 sequencing method for a regression test, in particular to a regression test case sequencing method based on error propagation network. The invention provides the regression test case sequencing method based on the error propagation network. The method comprises the following steps of: first abstracting category granularity (among software elements and elements) of the structure of software with a weighting network model; then analyzing the importance of the category to tests on the basis of the network model; and finally sequencing test cases according to the sum of the importance of the category of the test cases, and executing the test cases according to the order after sequencing. Therefore, the invention has the following advantages that the regression test case sequencing method can efficiently enhance error relevance ratio, reduce test time and enhance test efficiency.

Description

technical field [0001] The invention relates to a method for sorting regression test cases, in particular to a method for sorting regression test cases based on an error propagation network. Background technique [0002] Software testing is one of the important processes of software development, the purpose is to find as many errors in software as possible, and it is an important means to ensure software quality. Software testing has a large workload and high cost, so how to improve testing efficiency and ensure software quality has become a hot and difficult point in current research in the field of software engineering, and some meaningful methods have been produced. [0003] Regression testing is an important process of software testing, which is used to detect whether code modification introduces new bugs. In order to improve test efficiency, methods such as test case sorting and test case selection have been proposed. Test case sorting puts the test case with the high...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 李兵潘伟丰周晓燕何鹏黄媛
Owner WUHAN UNIV