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

Regression testing case set construction method based on program change

A technology for program change and regression testing, applied in program control devices, software testing/debugging, etc., to solve problems such as lack of solutions and attention

Inactive Publication Date: 2012-10-24
NANJING UNIV
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing regression testing methods have not yet paid enough attention to these aspects, and have not given a better solution

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 testing case set construction method based on program change
  • Regression testing case set construction method based on program change
  • Regression testing case set construction method based on program change

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0040] Such as figure 1 As shown, the regression test case set construction method based on program change includes five main steps: determine the program change of the target version, identify the changed statement set and set the change weight, divide the test case set according to the historical coverage information, and reduce the divided changes Coverage set and general coverage set, and finally sort the test cases in the change coverage set and general coverage set, and combine the two test case sets to form the regression test case set of the target version.

[0041] The input of the present invention mainly includes: (1) the target version of the software system, the target version is the currently modified version of the software system, and regression testing needs to be performed to ensure the quality of the software system; (2) the test case set of the so...

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 regression testing case set construction method based on program change, comprising the following steps of: (1) determining the program change of a target software version relative to a historical version; (2) dividing the program statements of the historical version into a change statement set and a non-change statement set, and simultaneously setting a change weight; (3) dividing testing case sets according to historical overlaying information; (4) simplifying the divided change overlaying set and common overlaying set; and (5) seqencing the testing cases in the change overlaying set and the common overlaying set, and simultaneously merging the two sets to form the regression testing case set of the target version. The regression testing case set construction method based on program change can be widely applied to automatic tests and regression tests of a large-sized software system in the updating process; the historical test information and the program change data of the target version are used fully and the constructed regression testing case set has good pertinence; and the regression testing case set construction method based on program change is capable of completing high-efficiency software tests in limited test time and at limited cost.

Description

[0001] technical field [0002] The present invention relates to the regression test case set construction in the software version update process, especially relates to the existence of a large number of test cases, and the coverage data of these test cases on historical version programs, how to select test cases and sort the test cases according to the program changes of the target version , so that under the limited testing time and resources, the regression testing of the target version can be completed in a targeted and efficient manner. Background technique [0003] The construction of regression test case set is a key step in the process of software regression testing, and it is an important link to reduce the cost of regression testing and improve the efficiency of regression testing. During the development and deployment of current software system components, they are often constantly modified and upgraded due to reasons such as bug fixes, function enhancements, requ...

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): G06F9/44G06F11/36
Inventor 顾庆张立久赵海钢汤九斌陈道蓄
Owner NANJING UNIV
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