Test case suite amplification method based on self-adaption random testing of predicate

A test case set and test case technology, applied in the field of software testing and regression testing in software testing, can solve the problem that the test case expansion method cannot meet the requirements of test cost and test accuracy, achieve low cost, improve test accuracy, The effect of reducing the generation cost

Inactive Publication Date: 2012-06-20
NANJING UNIV
View PDF1 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The problem to be solved by the present invention is: the existing test case amplification method cannot meet the requirements of test case

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 suite amplification method based on self-adaption random testing of predicate
  • Test case suite amplification method based on self-adaption random testing of predicate
  • Test case suite amplification method based on self-adaption random testing of predicate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] like figure 1 , the present invention combines the white-box testing technology of software modification analysis and the black-box testing technology of self-adaptive random testing to amplify the test case set in the regression test, so that it can achieve higher branch coverage at a lower cost, and the steps are as follows :

[0027] 1) Use the Dejavu test case selection method to select the modified part of the test cases from the original test case set to form a "selected test case set", and remove other test cases in the original test case set T;

[0028] 2) Statically analyze the new version of the regression test program to extract all the predicates that may be extracted in the program; the branch condition expression in the program is called "branch", and the expression backtracking from the branch condition to the input field is called "predicate". The predicate is extracted as: the expression extracted from the static backtracking of the program branch, and...

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 test case suite amplification method based on self-adaption random testing of a predicate. In the invention, a branch conditional expression in a process is called a branch; an expression backtracking to an input field from a branch condition is called the predicate and is used for regressing testing; and a white box testing technology for correcting and analyzing software and a black box testing technology for ART (Adaptive Random Testing) are combined, first, predicate extraction is carried out, then test case suit amplification is carried out by the ART under the guidance of predicate distance. In the invention, due to the combination of the white box testing technology for correcting and analyzing software and the black box testing technology for the ART, the effective amplification of the test case suite with low cost is achieved.

Description

technical field [0001] The invention belongs to the technical field of software testing, especially the technical field of regression testing in software testing. It is used for expanding test case sets and realizing more comprehensive testing of new version software. It is a test case based on predicate adaptive random testing. set augmentation method. Background technique [0002] Software needs to modify and evolve due to factors such as functional modification, performance tuning, software refactoring, and bug fixing. Regression testing is the detection of software modifications to ensure that they do not introduce new bugs. Existing regression testing research is generally divided into three categories: Test Case Selection, Test Case Repairing, and Test Suite Augmentation. The main task of test case selection is to select from the original test cases, which can be divided into three categories according to different objectives: regression test selection, test case set...

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 NANJING UNIV
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