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

使用变异测试测量Prolog程序的覆盖率

Measuring Coverage of Prolog Programs Using Mutation Testing

Alexandros Efremidis, Joshua Schmidt, Sebastian Krings, Philipp Körner

摘要:

测试是专业软件开发的一个重要方面,既可以避免和识别错误,也可以增加可维护性。然而,增加测试数量超过合理数量会阻碍开发进展。为了决定测试套件的完整性,已经提出了许多断言测试覆盖率的方法。然而,用于逻辑程序的框架仍然很少。在本文中,我们介绍了一个框架的Prolog程序测量测试覆盖率使用突变。详细阐述了变异测试的主要思想,并将其转化为逻辑程序.要做到这一点,我们讨论了不同的突变在Prolog的上下文中的有用性,并在不同的例子上在一个新的突变测试框架中对其进行经验评估。

英文摘要:

Testing is an important aspect in professional software development, both to avoid and identify bugs as well as to increase maintainability. However, increasing the number of tests beyond a reasonable amount hinders development progress. To decide on the completeness of a test suite, many approaches to assert test coverage have been suggested. Yet, frameworks for logic programs remain scarce. In this paper, we introduce a framework for Prolog programs measuring test coverage using mutations. We elaborate the main ideas of mutation testing and transfer them to logic programs. To do so, we discuss the usefulness of different mutations in the context of Prolog and empirically evaluate them in a new mutation testing framework on different examples.

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

↑