Combined test case generation method based on CS-SPSO algorithm
A technology that combines testing and test cases, applied in software testing/debugging, computing, computing models, etc., to solve the problems of particle swarm optimization, which is easy to fall into local optimum, poor diversity of later evolutionary populations, and slow convergence speed.
Image
Examples
Embodiment Construction
[0048] The present invention will be further described below in conjunction with the accompanying drawings and through specific embodiments.
[0049] like Figure 1~3 As shown, the combined test case generation method of the present invention combines the class IPO strategy with the CS-SPSO algorithm for combined test case generation, including the steps:
[0050] Step 1: Analyze the actual problem, calculate the number n of factors and the value range D of each factor i ={1,2,...,l i}, and obtain the combined cover set S by analyzing the constraints.
[0051] Step 2: Perform non-incremental sorting on the n factors according to the number of value ranges contained in the n factors, and perform random sorting if the numbers are equal. Combining according to the values of the top two factors and analyzing the constraint conditions, a pairwise combination set S' is obtained, wherein the pairwise combination set S' contains several pairwise combinations.
[0052] Step 3: Ra...
PUM
Login to View More Abstract
Description
Claims
Application Information
- IPC
- G06F11/36; G06N3/00
- CPC
- G06F11/3684; G06N3/006
- Inventors
- 包晓安; 金瑜婷



