{"title":"Research on Generation Algorithm of Parallel Particle Swarm Algorithm Combination Test Cases","authors":"D. He","doi":"10.1109/ICSP54964.2022.9778654","DOIUrl":null,"url":null,"abstract":"At this stage, software testing is the core means to ensure software quality and improve software reliability. At the same time, improving and generating the degree of automation corresponding to test cases is also the key to improving the automation level of software testing. In order to further improve the automation of generating test cases, it is necessary to reasonably optimize the inherent algorithm of the basic particle swarm. The inherent particle swarm algorithm takes more time to generate combined test cases. In response to this situation, a new parallel particle swarm algorithm is proposed to generate a pairwise combination test case method, and the big data platform spark is used as the basis to group all the use cases that need to be covered in the form of pairwise combination processing. The final result is sent to the corresponding cluster node for continued optimization. The one-test-at-a-time strategy is combined with the adaptive particle swarm algorithm to find the optimal solution. After the optimization operation of all nodes is completed, spark can be used to collect all the results produced. At this time, the collected and processed results can be simplified and processed through the use case set. The algorithm proposed in this paper mainly improves the automatic test case generation algorithm, so that the iterative prompting and average running time required for automatic stress generation are better than the traditional algorithm to achieve the purpose of improving the degree of automatic test generation.","PeriodicalId":363766,"journal":{"name":"2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSP54964.2022.9778654","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
At this stage, software testing is the core means to ensure software quality and improve software reliability. At the same time, improving and generating the degree of automation corresponding to test cases is also the key to improving the automation level of software testing. In order to further improve the automation of generating test cases, it is necessary to reasonably optimize the inherent algorithm of the basic particle swarm. The inherent particle swarm algorithm takes more time to generate combined test cases. In response to this situation, a new parallel particle swarm algorithm is proposed to generate a pairwise combination test case method, and the big data platform spark is used as the basis to group all the use cases that need to be covered in the form of pairwise combination processing. The final result is sent to the corresponding cluster node for continued optimization. The one-test-at-a-time strategy is combined with the adaptive particle swarm algorithm to find the optimal solution. After the optimization operation of all nodes is completed, spark can be used to collect all the results produced. At this time, the collected and processed results can be simplified and processed through the use case set. The algorithm proposed in this paper mainly improves the automatic test case generation algorithm, so that the iterative prompting and average running time required for automatic stress generation are better than the traditional algorithm to achieve the purpose of improving the degree of automatic test generation.