Regression test selection across JVM boundaries

Regression test selection across JVM boundaries
复制标题

跨 JVM 边界的回归测试选择

DOI:
10.1145/3106237.3106297
复制
发表时间:
2017
期刊:
Joint Meeting on Foundations of Software Engineering
影响因子:
--
通讯作者:
Gligoric, Milos
Gligoric, Milos
中科院分区:
--
文献类型:
--
作者:
Celik, Ahmet;Vasic, Marko;Milicevic, Aleksandar;Gligoric, Milos

文献摘要

参考文献

被引文献

相似文献

现代软件开发过程建议每天多次将更改集成到项目的主开发线中。在集成新版本之前,开发人员会进行回归测试,以确保最新的更改不会破坏任何先前建立的功能。回归测试的成本很高,这是由于每天引入的修订版本数量的增加,以及开发人员为每个修订版本编写的测试数量的增加。回归测试选择(RTS)通过跳过不受最近项目更改影响的测试来优化回归测试。现有的动态RTS技术只支持用一种编程语言编写的项目,这是不幸的,知道一个开源项目平均是用几种编程语言编写的。我们提出了第一个动态RTS技术,不停止在预定义的语言边界。我们的技术在操作系统级别上动态地检测测试所依赖的所有文件工件。因此,我们的技术忽略了测试用于实际访问文件的具体方法:无论是通过产生新进程、调用系统调用、调用用不同语言编写的库、调用产生进行系统调用的进程的库,我们还提供了一组扩展点,允许与测试框架和构建系统进行平滑集成。我们在一个名为RTS Linux的工具中实现了我们的技术,作为一个可扩展的Linux内核模块,并在21个Java项目上对其进行了评估,这些项目通过产生新进程或调用本机代码来逃离JVM,总共有2,050,791行代码。我们的研究结果表明,RTSLinux,平均而言,跳过74.17%的测试,并节省了52.83%的测试执行时间相比,执行所有的测试。
Modern software development processes recommend that changes be integrated into the main development line of a project multiple times a day. Before a new revision may be integrated, developers practice regression testing to ensure that the latest changes do not break any previously established functionality. The cost of regression testing is high, due to an increase in the number of revisions that are introduced per day, as well as the number of tests developers write per revision. Regression test selection (RTS) optimizes regression testing by skipping tests that are not affected by recent project changes. Existing dynamic RTS techniques support only projects written in a single programming language, which is unfortunate knowing that an open-source project is on average written in several programming languages.We present the first dynamic RTS technique that does not stop at predefined language boundaries. Our technique dynamically detects, at the operating system level, all file artifacts a test depends on. Our technique is, hence, oblivious to the specific means the test uses to actually access the files: be it through spawning a new process, invoking a system call, invoking a library written in a different language, invoking a library that spawns a process which makes a system call, etc. We also provide a set of extension points which allow for a smooth integration with testing frameworks and build systems. We implemented our technique in a tool called RTSLinux as a loadable Linux kernel module and evaluated it on 21 Java projects that escape JVM by spawning new processes or invoking native code, totaling 2,050,791 lines of code. Our results show that RTSLinux, on average, skips 74.17% of tests and saves 52.83% of test execution time compared to executing all tests.
通过隔离单元测试来查找错误
DOI: --
发表时间: 2011
期刊: ESEC/FSE '11
影响因子: --
作者:
Kivanç Muslu;B. Soran;Jochen Wuttke
通讯作者: Jochen Wuttke
大规模分布式软件系统类防火墙回归测试选择技术案例研究
DOI: --
发表时间: 2005
期刊: International Symposium on Empirical Software Engineering
影响因子: --
作者:
M. Skoglund;P. Runeson
通讯作者: P. Runeson
DOI: --
发表时间: 2011
期刊: 2011 Fourth IEEE International Conference on Software Testing, Verification and Validation
影响因子: --
作者:
Agastya Nanda;Senthil Mani;S. Sinha;M. J. Harrold;A. Orso
通讯作者: A. Orso
系统调用跟踪开销
DOI: --
发表时间: 2009
期刊:
影响因子: --
作者:
J. Zinke
通讯作者: J. Zinke
DOI: --
发表时间: 2002
期刊:
影响因子: --
作者:
Allan Heydon;R. Levin;T. Mann;Yuan Yu;Lytton Avenue
通讯作者: Lytton Avenue