arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.07480cs.SEcs.DM
收藏

使用CSP求解器寻找最小定位阵列

Finding minimum locating arrays using a CSP solver

Tatsuya Konishi, Hideharu Kojima, Hiroyuki Nakagawa, Tatsuhiro Tsuchiya

摘要:

组合交互测试是一种有效的软件测试策略。如果需要覆盖测试参数或因素之间的所有交互,那么所需测试套件的大小将非常大。相比之下,该策略仅需要覆盖$t$类交互,其中$t$通常非常小。因此,可以显著地减少测试套件的大小。定位阵列的目的是提高组合互作测试的能力。特别地,$(\overline{1}, t)$定位阵列不仅可以执行所有$t$路交互,而且还可以识别(如果有的话)哪个交互导致故障。尽管这个有用的属性,只有有限的研究,无论是如何产生定位数组或其最小尺寸。在本文中,我们提出了一种方法来产生最小定位数组。在该方法中,找到一个定位阵列组成的$N$测试的问题表示为一个约束满足问题(CSP)的实例,这反过来又解决了现代CSP求解器。使用所提出的方法的结果揭示了许多$(\overline{1}, t)$定位阵列是迄今为止已知的最小的。此外,还证明了其中一些阵列是最小的.

英文摘要:

Combinatorial interaction testing is an efficient software testing strategy. If all interactions among test parameters or factors needed to be covered, the size of a required test suite would be prohibitively large. In contrast, this strategy only requires covering $t$-wise interactions where $t$ is typically very small. As a result, it becomes possible to significantly reduce test suite size. Locating arrays aim to enhance the ability of combinatorial interaction testing. In particular, $(\overline{1}, t)$-locating arrays can not only execute all $t$-way interactions but also identify, if any, which of the interactions causes a failure. In spite of this useful property, there is only limited research either on how to generate locating arrays or on their minimum sizes. In this paper, we propose an approach to generating minimum locating arrays. In the approach, the problem of finding a locating array consisting of $N$ tests is represented as a Constraint Satisfaction Problem (CSP) instance, which is in turn solved by a modern CSP solver. The results of using the proposed approach reveal many $(\overline{1}, t)$-locating arrays that are smallest known so far. In addition, some of these arrays are proved to be minimum.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑