基于混合邻域禁忌搜索的基禁忌元组约束交互测试集的生成及应用
Generation and Application of Constrained Interaction Test Suites Using Base Forbidden Tuples With Mixed Neighborhood Tabu Search
摘要:
如今,确保质量成为具有挑战性的大多数现代软件系统时,约束的组合配置。组合交互策略可以在不影响测试有效性的前提下,系统地减少测试用例的数量,构造最小测试集。本文提出了一种新的有效的基于搜索的策略,以产生约束的交互测试套件,以覆盖所有可能的组合。本文还展示了约束交互测试在软件故障搜索中的一个新应用。该策略首先生成所有可能的t元组组合的集合,然后使用基本禁止元组(BFT)方法通过移除禁止的t元组来过滤掉集合。该策略还利用混合邻域禁忌搜索(TS),以构建最佳或接近最佳的约束测试套件。所提出的方法的效率进行评估,通过对两个著名的国家的最先进的工具进行比较。该评估由35个标准基准的三组实验组成。此外,使用真实世界的案例研究的有效性和质量的结果进行评估。实验结果表明,所提出的策略优于竞争策略之一,ESTA,约83%的基准测试,并取得类似的结果,CASA为65%的基准测试时的交互强度为2。对于相互作用强度为3,所提出的方法优于其他竞争策略的约60%和42%的基准。所提出的策略还可以生成交互强度为4的约束交互测试套件,这对于许多策略来说是不可能的。真实世界的案例研究表明,生成的测试套件可以有效地检测注入故障使用变异测试。
英文摘要:
Nowadays, ensuring the quality becomes challenging for most modern software systems when constraints are given for the combinations of configurations. Combinatorial interaction strategies can systematically reduce the number of test cases to construct a minimal test suite without affecting the effectiveness of the tests. This paper presents a new efficient search-based strategy to generate constrained interaction test suites to cover all possible combinations. The paper also shows a new application of constrained interaction testing in software fault searches. The proposed strategy initially generates the set of all possible t-tuple combinations; then, it filters out the set by removing the forbidden t-tuples using the base forbidden tuple (BFT) approach. The strategy also utilizes a mixed neighborhood tabu search (TS) to construct optimal or near-optimal constrained test suites. The efficiency of the proposed method is evaluated through a comparison against two well-known state-of-the-art tools. The evaluation consists of three sets of experiments for 35 standard benchmarks. Additionally, the effectiveness and quality of the results are assessed using a real-world case study. Experimental results show that the proposed strategy outperforms one of the competitive strategies, ACTS, for approximately 83% of the benchmarks and achieves similar results to CASA for 65% of the benchmarks when the interaction strength is 2. For an interaction strength of 3, the proposed method outperforms other competitive strategies for approximately 60% and 42% of the benchmarks. The proposed strategy can also generate constrained interaction test suites for an interaction strength of 4, which is not possible for many strategies. Real-world case study shows that the generated test suites can effectively detect injected faults using mutation testing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。