Software faults are commonly occurred due to interactions between one or more input parameters in complex software systems. Software test design techniques can be implemented to ensure the quality of the developed software. Exhaustive testing tests all possible test configurations; however, it is infeasible considering time and resource constraints. Pairwise t-way testing is a sampling strategy that focuses on testing every pair of parameter combination, effectively reducing the generated test size as opposed to testing exhaustively. In this paper, we propose a new pairwise t-way strategy called Pairwise Gravitational Search Algorithm Strategy (PGSAS). PGSAS utilizes Gravitational Search Algorithm (GSA) for generating optimal pairwise test suites. The performance of PGSAS is benchmarked against existing t-way strategies in terms of test suite size. Preliminary results showcase that PGSAS provides competitive results in most configurations and outshines other strategies in some cases.
翻译:软件通常由于复杂的软件系统中一个或一个以上输入参数之间的相互作用而出现故障。可以应用软件测试设计技术来确保开发软件的质量。用尽测试测试所有可能的测试配置;然而,考虑到时间和资源的限制,这是不可行的。对称远程测试是一种抽样战略,侧重于测试每对参数组合,有效减少产生的测试尺寸,而不是全面测试。在本文中,我们提出了一个新的双向双向战略,称为Pairwith 重力搜索ALgorithm战略(PGSAS)。PGSAS利用重力搜索ALgorithm(GSA)生成最佳双向测试套件。PGSAS的性能在测试套件尺寸方面以现有的双向战略为基准。初步结果显示,PGSASA在大多数配置中提供了竞争性结果,在某些情况下还超越了其他战略。