Research on Generation Algorithm of Parallel Particle Swarm Algorithm Combination Test Cases

D. He
{"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.
并行粒子群算法组合测试用例生成算法研究
在这个阶段,软件测试是保证软件质量和提高软件可靠性的核心手段。同时,提高和生成与测试用例相对应的自动化程度也是提高软件测试自动化水平的关键。为了进一步提高测试用例生成的自动化程度,有必要对基本粒子群的固有算法进行合理优化。固有的粒子群算法需要花费更多的时间来生成组合测试用例。针对这种情况,提出了一种新的并行粒子群算法,生成两两组合测试用例方法,并以大数据平台spark为基础,以两两组合处理的形式对所有需要覆盖的用例进行分组。最终结果被发送到相应的集群节点进行继续优化。将一次测试策略与自适应粒子群算法相结合,寻找最优解。所有节点的优化操作完成后,可以使用spark收集所有生成的结果。此时,收集和处理的结果可以通过用例集进行简化和处理。本文提出的算法主要是对自动测试用例生成算法进行改进,使自动应力生成所需的迭代提示和平均运行时间优于传统算法,从而达到提高测试自动生成程度的目的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信