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

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 set; some scholars use heuristic algorithms to generate approximately optimal combined test case sets, such as the DDA algorithm, this method is in the process of constructing test case sets , introduces global density and local density, and uses a greedy algorithm in the assignment order and value selection of parameters. This method can generate a smaller test case set, so it also has its limitations. A smaller test case set will cause coverage. rate won't be too good
In addition, in the process of software testing, the test case set is relatively large. If each test case is executed in sequence, it will waste a lot of time and greatly affect the test efficiency.

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

Embodiment Construction

[0016] Because in the present invention, the final test case set is obtained by combining the test case generation method, therefore, 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 containing such factors have a relatively large weight and a high priority. On the contrary, if there are some factors that have less impact on the software, the priority of test cases containing such factors will be lower.

[0018] The present invention will be further described below in conjunction with the accompanying 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 firstly evaluated, and the n input factors affecting the software SW are counted to form a ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products