Regression test case reusing method based on software combination test

A technology of test cases and combined testing, applied in software testing/debugging, etc., can solve problems such as not considering models, and achieve the effect of reducing testing overhead

Inactive Publication Date: 2015-03-25
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Most of the existing combination test test case generation process is carried out under the given model, a

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 reusing method based on software combination test
  • Regression test case reusing method based on software combination test
  • Regression test case reusing method based on software combination test

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention adopts the methods of reusing existing test cases and generating new test cases to carry out regression testing, wherein the existing test cases are generated for the original model by using combined testing technology. The use of this method is in the stage of regression testing after the model of the system under test is changed, and the reusable test cases plus the newly generated test cases constitute the test case set of the final regression test.

[0031] A simple combination test regression test scenario is given below to illustrate the workflow of the present invention.

[0032] Assume that the parametric model of a system under test contains four parameters v 1 ,v 2 ,v 3 ,v 4 , the value range of each parameter is {0,1}, as shown in Table 1. The system under test contains no constraints. Assume that the system under test has been tested previously, assuming that there are two test cases (0,1,0,0) and (0,1,1,0).

[0033] Table 1 Old p...

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 test case reusing method based on a software combination test. The method mainly includes the following steps that all combinations needing to be covered of a new model are calculated; an attempt is made reuse each existing test case, if each test case can be reused, the test case is converted into a test case under the new model and added to a test case set, the combination covered with the test case is removed, or otherwise, the test case can not be reused and is abandoned; if combinations which are not covered exist, new test cases are used for supplementation according to a traditional combination test generation method, the remaining combinations which are not covered are covered, and the new test cases are added to a new test case set; finally, the acquired test case set is a regression combination test case set reusing the existing test cases.

Description

technical field [0001] The invention relates to a regression test case reuse method, in particular to a regression test case reuse method for generating test cases in a system to be tested by utilizing software combination testing. Background technique [0002] Software testing is used to find defects in software systems and is one of the important links in software system development. Today's software systems are getting larger and more complex in structure, which makes software more prone to defects. However, defects in software often lead to various problems, such as software crashes, property damage and even personal safety. Software composition testing is a very effective software testing method, which is used to test multi-parameter systems. In combined testing, the system under test is regarded as a black box whose behavior is affected by the interaction of multiple parameters (or factors), which may be system configuration, internal events, external inputs, etc. T...

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
Inventor 张艳丽张智强严俊
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
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