Ekstazi: Lightweight Test Selection

Ekstazi: Lightweight Test Selection
复制标题

Ekstazi:轻量级测试选择

DOI:
--
复制
发表时间:
2015
期刊:
2015 IEEE/ACM 37th IEEE International Conference on Software Engineering
影响因子:
--
通讯作者:
D. Marinov
D. Marinov
中科院分区:
--
文献类型:
--
作者:
Miloš Gligorić;Lamyaa Eloussi;D. Marinov

文献摘要

被引文献

相似文献

回归测试是软件开发的一个重要部分,但可能很耗时。回归测试选择(RTS)只运行测试的一个子集,三十多年前被提出来作为加速回归测试的一种有前途的方法。然而,RTS在实践中并没有被广泛采用。我们提出了EKSTAZI,一个轻量级的RTS工具,可以很好地集成测试框架和构建系统,增加采用的机会。EKSTAZI跟踪测试对文件的动态依赖,不需要与版本控制系统集成。我们为Java+JUnit和Scala+ScalaTest实现了EKSTAZI,并在32个开源项目的615个修订版上对其进行了评估(总计近500万次)。结果表明,与执行所有测试相比,EKSTAZI将端到端测试时间平均减少了32%。EKSTAZI已经被一些Apache开发人员用于日常使用。EKSTAZI的演示视频可以在http://www.youtube.com/watch?上找到v=jE8K5_UCP28。
Regression testing is a crucial, but potentially time-consuming, part of software development. Regression test selection (RTS), which runs only a subset of tests, was proposed over three decades ago as a promising way to speed up regression testing. However, RTS has not been widely adopted in practice. We propose EKSTAZI , a lightweight RTS tool, that can integrate well with testing frameworks and build systems, increasing the chance for adoption. EKSTAZI tracks dynamic dependencies of tests on files and requires no integration with version-control systems. We implemented EKSTAZI for Java+JUnit and Scala+ScalaTest, and evaluated it on 615 revisions of 32 open-source projects (totaling almost 5M LOC). The results show that EKSTAZI reduced the end-to-end testing time by 32% on average compared to executing all tests. EKSTAZI has been adopted for day-to-day use by several Apache developers. The demo video for EKSTAZI can be found at http://www.youtube.com/watch?v=jE8K5_UCP28.