arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.16185cs.SE
收藏

通过自动生成的测试用例度量软件可测试性

Measuring Software Testability via Automatically Generated Test Cases

Luca Guglielmo, Leonardo Mariani, Giovanni Denaro

AI总结:

本文提出一种利用自动测试生成和变异分析来量化开发有效测试用例相对难度的新方法,该方法可与传统软件度量协同结合,显著提升软件可测试性预测的准确性。

摘要:

估算软件可测试性能够极大地帮助软件管理者优化测试预算和软件质量。本文提出了一种全新的方法,该方法与基于软件度量(例如代码规模或设计复杂度)来追求可测试性度量的传统方法截然不同。我们的方法利用自动测试生成和变异分析来量化关于开发有效测试用例相对难度的证据。在本文中,我们详细阐述了支撑我们可测试性估算建议的直觉和方法论选择,介绍了一种允许据此具体估算可测试性的技术和原型,并讨论了一组实验的结果,在这些实验中,我们比较了我们的估算性能与传统软件度量的对比及结合情况。结果表明,我们的可测试性估算捕获了可测试性的互补维度,可以与基于软件度量的方法协同结合以提高预测的准确性。

英文摘要:

Estimating software testability can crucially assist software managers to optimize test budgets and software quality. In this paper, we propose a new approach that radically differs from the traditional approach of pursuing testability measurements based on software metrics, e.g., the size of the code or the complexity of the designs. Our approach exploits automatic test generation and mutation analysis to quantify the evidence about the relative hardness of developing effective test cases. In the paper, we elaborate on the intuitions and the methodological choices that underlie our proposal for estimating testability, introduce a technique and a prototype that allows for concretely estimating testability accordingly, and discuss our findings out of a set of experiments in which we compare the performance of our estimations both against and in combination with traditional software metrics. The results show that our testability estimates capture a complementary dimension of testability that can be synergistically combined with approaches based on software metrics to improve the accuracy of predictions.

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

↑