arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1412.3726cs.SE
收藏

考虑多态性的基于变化的测试集约简

Considering Polymorphism in Change-Based Test Suite Reduction

Ali Parsai, Quinten David Soetens, Alessandro Murgia, Serge Demeyer

摘要:

随着持续集成的日益普及,选择最小测试集以覆盖给定的变化集的算法是有序的。本文报告了多态性如何处理假阴性在以前的算法,使用方法级的变化,在基本代码,以推断哪些测试需要被验证。我们比较了两种不同情况下的多态性和不多态性的方法--PMD和CruiseControl-并发现了一个有趣的权衡:将多态性结果纳入测试套件中的更相关的测试(因此提高了准确性),但是代价是更大的测试套件(因此增加了运行最小测试套件的时间)。

英文摘要:

With the increasing popularity of continuous integration, algorithms for selecting the minimal test-suite to cover a given set of changes are in order. This paper reports on how polymorphism can handle false negatives in a previous algorithm which uses method-level changes in the base-code to deduce which tests need to be rerun. We compare the approach with and without polymorphism on two distinct cases ---PMD and CruiseControl--- and discovered an interesting trade-off: incorporating polymorphism results in more relevant tests to be included in the test suite (hence improves accuracy), however comes at the cost of a larger test suite (hence increases the time to run the minimal test-suite).

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

↑