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

Composite test case priority sorting method based on One-test-at-a-time strategy

A technology of prioritization and test cases, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of single selection of sorting factors of combined test cases, no consideration of real-time problems, etc., and achieve the effect of improving efficiency

Active Publication Date: 2017-05-31
ZHEJIANG SCI-TECH UNIV
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In most cases, the selection of sorting factors for combined test cases is too single, and the real-time issues triggered by the test process itself are 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
  • Composite test case priority sorting method based on One-test-at-a-time strategy
  • Composite test case priority sorting method based on One-test-at-a-time strategy
  • Composite test case priority sorting method based on One-test-at-a-time strategy

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment tc

[0037] where 0k ≤1.0 and Multiple to-be-covered rates are considered test cases tc j Coverage Test Case Sequence Set The probability of the combination has not been covered yet, and the combination of k-element parameter values ​​that is required to be covered, when k is different, the situation of the covered combination is also different. Therefore, the concept of weight is introduced, and the weighted average of the combined coverage rates of all k-element parameter values ​​is used as the multiple to-be-covered rates. Consider the test case tc j coverage, test case tc j Ability to cover test case sequence sets The more combinations that have not been covered in , the test case tc j The easier it is to be selected for the next test case. If k is fixed, only the k-element parameter value combination coverage is calculated, so the test case tc is used j Covered test case sequence set Invert the probability of the combination to get the test case tc j Uncovered te...

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 composite test case priority sorting method based on One-test-at-a-time strategy, and belongs to the field of software testing. The method comprises the steps of according to One-test-at-a-time strategy thought, choosing one test case with the highest priority for execution in a composite test case set each time; using a calculation result of the three impact factors of a multiple rate of being to be covered, a test case failure rate and a test case importance degree and the weight factors of alpha, beta and gamma to sort test case priority; according to testing condition of the test case, adjusting an impact factor parameter value timely; then according to the adjusted impact factor parameter value, choosing a next test case with the highest priority for execution, and repeating the steps until a testing aim is achieved. The composite test case priority sorting method based on One-test-at-a-time strategy can be applied to sorting of test case priority generated by different group coverage intensities, can effectively detect more defects under circumstance of using the same test case quantity, and improve the defect detecting efficiency.

Description

technical field [0001] The invention belongs to the field of software testing, and in particular relates to a combined test case prioritization method based on a One-test-at-a-time strategy. Background technique [0002] In the era of rapid development of the computer industry, new software products emerge one after another, and the pace of upgrading software products is getting faster and faster, which makes the frequency of regression testing of software products continue to increase. However, for developers, spending a lot of time and consuming a huge amount of money can only get twice the result with half the effort. Under such high-cost expenses, how to effectively find defects in software products as early as possible under the premise of short-term and low-cost has become the focus of testers' continuous innovation. [0003] The prioritization technique of test cases is an efficient and practical testing technique. With the introduction of the test case prioritizati...

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
CPCG06F11/3672
Inventor 包晓安林青霞张娜熊子健
Owner ZHEJIANG SCI-TECH 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