arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.08518cs.SE
收藏

利用变形测试提高自动生成测试集的有效性

Improving The Effectiveness of Automatically Generated Test Suites Using Metamorphic Testing

Prashanta Saha, Upulee Kanewala

摘要:

自动化测试生成有助于降低软件测试的成本。然而,为这些自动生成的测试输入开发有效的测试预言机是一项具有挑战性的任务。因此,大多数自动化测试生成工具使用的是一些琐碎的预言机,这些预言机降低了这些自动生成的测试用例的故障检测效率。在这项工作中,我们提供了一个实证研究的结果表明,利用变形关系可以提高自动生成的测试用例的故障检测效率。

英文摘要:

Automated test generation has helped to reduce the cost of software testing. However, developing effective test oracles for these automatically generated test inputs is a challenging task. Therefore, most automated test generation tools use trivial oracles that reduce the fault detection effectiveness of these automatically generated test cases. In this work, we provide results of an empirical study showing that utilizing metamorphic relations can increase the fault detection effectiveness of automatically generated test cases.

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

↑