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

基于推理的软件测试

Reasoning-Based Software Testing

Università degli Studi di Napoli Federico II(那不勒斯费德里科二世大学);DIETI(DIETI(电子与信息技术工程系))

Luca Giamattei, Roberto Pietrantuono, Stefano Russo

AI总结:

本文提出 Reasoning-Based Software Testing (RBST),将软件测试视为因果推理任务,通过模拟人类智能搜索过程,利用因果发现与推断工具在庞大状态空间中高效测试,初步结果证明了其有效性。

摘要:

随着软件系统变得日益普及和自主,我们测试其质量的能力面临严峻挑战。许多系统被要求在不确定且高度变化的环境中运行,往往需要自行做出智能决策。这很容易导致在测试时需要探索的状态空间变得不可处理。最先进的技术试图跟上步伐,例如,通过利用从观察中进行某种形式的(显式或隐式)学习来增强测试者的直觉,从而高效地搜索该空间。例如,它们利用历史数据来驱动搜索(例如,ML驱动的测试)或测试执行数据本身(例如,自适应或基于搜索的测试)。尽管取得了不可否认的进展,但在如此巨大的空间中智能化搜索的需求依然迫切。我们引入了 Reasoning-Based Software Testing (RBST)(基于推理的软件测试),这是一种将测试问题视为因果推理任务的全新思维方式。与纯粹的基于直觉或最先进的基于学习的策略相比,我们声称因果推理更自然地模拟了人类为“智能地”搜索空间所执行的过程。RBST 旨在借助计算能力来模拟并放大这种能力。这一概念飞跃为新趋势的技术奠定了基础,通过利用大量用于因果发现和推断的工具,这些技术可以从所提出的框架中进行各种实例化。本文报告的初步结果令人鼓舞。

英文摘要:

With software systems becoming increasingly pervasive and autonomous, our ability to test for their quality is severely challenged. Many systems are called to operate in uncertain and highly-changing environment, not rarely required to make intelligent decisions by themselves. This easily results in an intractable state space to explore at testing time. The state-of-the-art techniques try to keep the pace, e.g., by augmenting the tester's intuition with some form of (explicit or implicit) learning from observations to search this space efficiently. For instance, they exploit historical data to drive the search (e.g., ML-driven testing) or the tests execution data itself (e.g., adaptive or search-based testing). Despite the indubitable advances, the need for smartening the search in such a huge space keeps to be pressing. We introduce Reasoning-Based Software Testing (RBST), a new way of thinking at the testing problem as a causal reasoning task. Compared to mere intuition-based or state-of-the-art learning-based strategies, we claim that causal reasoning more naturally emulates the process that a human would do to ''smartly" search the space. RBST aims to mimic and amplify, with the power of computation, this ability. The conceptual leap can pave the ground to a new trend of techniques, which can be variously instantiated from the proposed framework, by exploiting the numerous tools for causal discovery and inference. Preliminary results reported in this paper are promising.

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

↑