计算机科学 > 软件工程
[提交于 2022年11月14日]
标题:An approach for Test Impact Analysis on the Integration Level in Java programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Test Impact Analysis is an approach to obtain a subset of tests impacted by code changes. This approach is mainly applied to unit testing where the link between the code and its associated tests is easy to obtain. On the integration level, however, it is not straightforward to find such a link programmatically, especially when the integration tests are held into separate repositories. We propose an approach for selecting integration tests based on the runtime analysis of code changes to reduce the test execution overhead. We provide a set of tools and a framework that can be plugged into existing CI/CD pipelines. We have evaluated the approach on a range of open-source Java programs and found $\approx$50\% reduction in tests on average, and above 80\% in a few cases. We have also applied the approach to a large-scale commercial system in production and found similar results.
提交历史
来自:Muzammil Shahbaz Dr[v1] 2022年11月14日 星期一 22:34:14 UTC