Software test case generation method with every two cases forming one combination

A technology of software testing and test case collection, which is applied in software testing/debugging, error detection/correction, instruments, etc. It can solve problems such as redundancy, too many test case sets, and affecting test efficiency, so as to reduce the generation cycle and improve the system Efficiency and the effect of saving test resources

Inactive Publication Date: 2018-02-16
UNIV OF ELECTRONIC SCI & TECH OF CHINA
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, according to previous scholars' proofs, N-dimensional combination tests and variable-strength combination tests have NP-Complete properties, and it is difficult to find the optimal solution. Many algorithms are still being studied, so most of the attention in engineering practice is pairwise combination tests Use case generation technology, in this regard, people use the orthogonal test design method of orthogonal matrix to design test cases, and use it in engineering, but because there are some special parameters for the input parameters when constructing the orthogonal matrix Requirements, this will cause more redundancy in the generated test case se

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
  • Software test case generation method with every two cases forming one combination

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0016] Since in the present invention, the final test case set is obtained by the method of combining test case generation, the processing of the input factors of the software is extremely critical.

[0017] Among all the input factors of the software, some factors are very important and play a very important role in the stability of the software. Therefore, in the test case set, the test cases that contain such factors have a relatively large weight and a higher priority. High; On the contrary, if some factors have less impact on the software, the priority of test cases containing such factors is lower.

[0018] The present invention will be further described below in conjunction with the drawings and specific implementation, and the final test case can be obtained through the following four stages.

[0019] In the first stage, the software system SW is evaluated first, and n input factors that affect the software SW are counted to form a set F = {f 1 ,f 2 ,...,F n }, the weight cor...

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 software test case generation method with every two cases forming one combination. According to the method, a boundary value algorithm, an equivalent partitioning algorithm, arandom algorithm and other algorithms are applied to extraction of software input factors, and the generation cycle of a value set is lowered; a combination coverage method is adopted to combine theinput factors in sequence according to the order of products of every two weights to generate a test case set with a priority order; in the testing process, if the test cases with high priorities areused first, a problem can be discovered earlier, and test resources can be saved; and by performing position improvement on limited combinations in the test cases, the problem that a constraint relation exists in the test case set is solved. Through the method, redundancy of the test cases is remarkably reduced, influences of all the factors on a software system are better checked with less test cases, and system efficiency is improved.

Description

technical field [0001] The invention relates to software testing technology. Background technique [0002] With the vigorous development of computer software technology, software testing technology has gradually become one of the popular science and technology. Software testing plays an extremely important part in software development and is one of the main means to ensure the quality of software development. The workload of software testing is generally very large. According to the statistics of a large number of testers, in the development cycle of a piece of software, the testing time will account for about 40%. In aerospace or other fields that require high software reliability , testing time will account for 60% of the development time. Normally, the software testing process can be divided into six stages: test planning, test design, test execution, test recording, test analysis, and test summary. The most important thing for a better test is the design and generatio...

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/3684
Inventor 荆华张伟陈小平
Owner UNIV OF ELECTRONIC SCI & TECH OF CHINA
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