arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.09065cs.SEcs.ITmath.IT
收藏

自动黑箱边界值检测

Automated Black-Box Boundary Value Detection

Felix Dobslaw, Robert Feldt, Francisco de Oliveira Neto

摘要:

软件系统的输入域通常可以划分为输出相似的子域。为了确保高质量,在这些子域之间的边界上测试软件至关重要。因此,边界值分析和测试长期以来一直是软件测试人员工具箱的一部分,并且通常很早就教给学生。然而,尽管有许多争论的好处,给定规范或软件的边界值分析通常以抽象术语描述,这允许测试人员如何应用它。在这里,我们提出了一种自动化的黑盒边界值检测方法,以支持软件测试人员进行系统的边界值分析并获得一致的结果。该方法建立在一个度量标准上,以量化测试输入的边界性水平:程序导数。通过将其与搜索算法相结合,我们发现并将输入对列为良好的边界候选者,即输入靠近但输出远离。我们实现了我们的AutoBVA方法,并在一个精选的示例程序数据集上对其进行评估。我们的研究结果表明,即使是一个简单的和通用的程序衍生的变体与广泛的采样在输入空间相结合,有趣的边界候选人可以确定。

英文摘要:

The input domain of software systems can typically be divided into sub-domains for which the outputs are similar. To ensure high quality it is critical to test the software on the boundaries between these sub-domains. Consequently, boundary value analysis and testing has been part of the toolbox of software testers for long and is typically taught early to students. However, despite its many argued benefits, boundary value analysis for a given specification or piece of software is typically described in abstract terms which allow for variation in how testers apply it. Here we propose an automated, black-box boundary value detection method to support software testers in systematic boundary value analysis with consistent results. The method builds on a metric to quantify the level of boundariness of test inputs: the program derivative. By coupling it with search algorithms we find and rank pairs of inputs as good boundary candidates, i.e. inputs close together but with outputs far apart. We implement our AutoBVA approach and evaluate it on a curated dataset of example programs. Our results indicate that even with a simple and generic program derivative variant in combination with broad sampling over the input space, interesting boundary candidates can be identified.

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

↑