Software test case evolution generation method based on related input variables
A technology of input variables and software testing, applied in software testing/debugging, genetic rules, genetic models, etc., can solve the problem of low efficiency in generating test cases, achieve the effect of improving efficiency, reducing cost, and ensuring accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] Such as figure 1 As shown, it is a general flowchart of a software test case evolution generation method based on relevant input variables proposed by the present invention. The method includes:
[0046] Step S1: Determine the correlation between input variables and variation branches based on static analysis
[0047] 1.1 Determine the correlation between the variation branch and the input variable
[0048] Let the program under test be G, implement mutations on the sentences it contains, and obtain the set of mutation branches as M={M 1 , M 2 ,...,M n}, n is the number of mutation branches. Insert these mutation branches into G to get a new tested program G'. Let the input vector of the program be X=(x 1 ,x 2 ,...,x m ), m is the number of program input variables. The input domain D(X) is the cross product of each input variable domain, that is, D(X)=D(x 1 )×D(x 2 )×…×D(x m ).
[0049] Assume D. * (x j ) is D(x j ) subfield, if an input variable x j...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


