Pair-wise test method based on priority

A combined testing and priority technology, applied in software testing/debugging, etc., can solve the problems of untestable key parameters, defect detection rate, waste of manpower and material resources, etc.

Active Publication Date: 2013-01-02
HOHAI UNIV
View PDF1 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Otherwise, even if you spend a lot of money to find the optimal set of test cases and ignore the priority of test cases, it is easy to cause problems such as

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
  • Pair-wise test method based on priority
  • Pair-wise test method based on priority
  • Pair-wise test method based on priority

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Below in conjunction with specific embodiment, further illustrate the present invention, should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various equivalent forms of the present invention All modifications fall within the scope defined by the appended claims of the present application.

[0056] Such as figure 1 As shown, the priority-based pairwise combination test method proposed in this embodiment is divided into four steps:

[0057] Step 1, establish a priority model. The definition of priority has been given in the summary of the invention. For a system, at first each value of each parameter is required to carry out the evaluation of priority influencing factors; then according to the priority value calculation formula in the invention, the priority value of each parameter v...

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 pair-wise test method based on priority and belongs to the technical field of software testing. The method includes steps that rules are determined through the priority, and a priority value of a dereferencing of each parameter to be tested is defined; a greedy algorithm is utilized to obtain M candidate test cases according to an one dimensional expansion strategy and the priority of the dereferencing of each parameter to be tested; the candidate test cases are coded so that an initial population can be obtained, then the initial population is evolved by a provided genetic algorithm, when the genetic algorithm stops, optimum individual is selected among the initial population, and the optimum individual is added into a test case set; and certain times of executing the steps are limited according to test conditions, and the testing is performed according to the sequence of test cases obtained in the test case set during testing. By means of the method, problems that under the condition of limited resources, the key parameters and combination can not be fully tested, the time of generating the test cases is excessively long, the defect detection rate can not be passed and the like are solved.

Description

technical field [0001] The invention relates to a priority-based paired combination test method, in particular to the definition of system parameter value priority and a method for generating a use case set for combination test according to the priority, belonging to the technical field of software testing. Background technique [0002] Software testing is a key link in building high-confidence software. Statistics show that this link generally accounts for more than 50% of the total cost of software development, and effective testing methods are the key to reducing software development costs. Today's computer systems are becoming larger and more complex, and often have more input parameters, and each parameter may have multiple different values ​​or equivalence class divisions. The most sufficient test method is to design a test case set covering all combinations of parameters, but the test case set produced is often too large in size and unacceptable in terms of cost. Fo...

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 HOHAI 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