OTT policy-based variable intensity combination test case priority online sorting method

A technology of prioritization and test cases, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as difficulty in selecting combination strength, inability to satisfy complex interaction relationships, and failure to consider test feedback result information, etc. To achieve the effect of improving efficiency

Active Publication Date: 2018-03-06
ZHEJIANG SCI-TECH UNIV
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The prioritization method of combined test cases with variable strength has the following problems: it is difficult to select the combination strength during the sorting process, and the current prioritization method of combined test cases with fixed strength cannot satisfy the complex interaction relationship
Moreover, in the prioritization method of combined test cases with variable strength, the influence of other factors is ignored, and the situation of test feedback result information in the actual test process is not considered.

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
  • OTT policy-based variable intensity combination test case priority online sorting method
  • OTT policy-based variable intensity combination test case priority online sorting method
  • OTT policy-based variable intensity combination test case priority online sorting method

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment t

[0044] where tc is the test case, t i is the current moment, λ is the combined coverage strength, is the partial combined coverage of test case tc. Denotes the test case tc, t i Cover all λ-element combinations in the local impact factor set R at the moment, and these λ-element combinations have not been tested by the test case sequence probability of coverage. is the test case tc failure rate. Indicates that during the test, t i The failure rate of the time test case tc. I (tc,R) is the importance of the test case tc. α, β, γ represent the weights of partial combined coverage, test case failure rate and test case importance respectively, and α+β+γ=1.

test test Embodiment tc

[0045] Step 3.1: Calculate the test case tc multiple pending coverage rate

[0046]

test Embodiment tc

[0047] Among them, CombSet (λ,R) (tc) is the set of test case tc covering all λ-element combinations in the impact factor set R, is the sequence of test cases The collection of λ-element combinations is not covered in the impact factor set R, and n is the number of impact factors in R.

[0048] Step 3.2: Calculate test case tc failure rate

[0049]

[0050] in, is the parameter failure rate. Indicates that during the test, t i Time test case tc is in the impact factor set R, f k Corresponding to the failure rate of p. is the number of failed parameter values. Indicates that the test case tc is in the impact factor set R, and t i The number of parameter values ​​whose value failure rate is not 0 at any time, namely The number of parameter values.

[0051] Step 3.3: Calculate the test case tc importance I (tc,R) :

[0052]

[0053] Among them, ω(f k ,p) is the importance of parameter values. Indicates the influencing factor f k Among them, the value i...

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 an OTT policy-based variable intensity combination test case priority online sorting method and belongs to the field of software testing. The method comprises the steps of adjusting an influence factor set according to a current test case sequence coverage combination condition; through an OTT policy thought, selecting a test case with a highest priority to be executed froma combination test case set each time; calculating and ranking test case priorities by using three influence factors including a local combination coverage rate, a test case failure rate and test case importance; according to test results of test cases, adjusting parameter values of the influence factors in real time, and updating a test case sequence, the test case set and a non-covered combination set of the test case sequence; and re-calculating the priorities, and repeating the process until a test goal is achieved. The method can be used for ranking the test case priorities generated bydifferent combination coverage intensities; and more defects can be effectively detected out under the condition of using the same test case quantity, so that the defect detection efficiency is improved.

Description

technical field [0001] The invention belongs to the field of software testing, and in particular relates to an OTT strategy-based variable strength combination test case prioritization method. Background technique [0002] In today's era of rapid development of computer technology, users' demand for existing products is getting higher and higher, and the update rate of software products is also increasing. In this case, users not only require to reduce the product development cycle, but also require to improve the quality of the product. However, for developers, how to efficiently develop new products and improve product quality has become a difficult problem. From the perspective of testing, how to improve testing efficiency and defect detection capability is the key link to solve this problem. [0003] The introduction of test case priority technology makes it possible to avoid exhaustive testing and repeated testing during the testing process. In order to achieve the 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 包晓安林青霞张娜
Owner ZHEJIANG SCI-TECH 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