Predictive Test Selection

Mateusz Machalica, Alex Samylkin, Meredith Porth,Satish Chandra

ICSE '19: 41st International Conference on Software Engineering Montreal Quebec Canada May, 2019(2019)

引用 101|浏览247
暂无评分
摘要
Change-based testing is a key component of continuous integration at Facebook. However, a large number of tests coupled with a high rate of changes committed to our monolithic repository make it infeasible to run all potentially-impacted tests on each change. We propose a new predictive test selection strategy which selects a subset of tests to exercise for each change submitted to the continuous integration system. The strategy is learned from a large dataset of historical test outcomes using basic machine learning techniques. Deployed in production, the strategy reduces the total infrastructure cost of testing code changes by a factor of two, while guaranteeing that over 95% of individual test failures and over 99.9% of faulty changes are still reported back to developers. The method we present here also accounts for the non-determinism of test outcomes, also known as test flakiness.
更多
查看译文
关键词
Continuous integration,test selection,machine learning,flaky tests
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要